|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.util.classfile.Attribute
org.multijava.util.classfile.LocalVariableTable
VMS 4.7.6: Line Number Table Attribute This attribute represents a mapping between he Java Virtual Machine code array and the line number in the original Java source file
| Field Summary | |
private static AsciiConstant |
attr
|
private LocalVariableInfo[] |
entries
|
| Constructor Summary | |
LocalVariableTable(DataInput in,
ConstantPool cp,
Instruction[] insns)
Constructs a line number table attribute from a class file stream. |
|
LocalVariableTable(LocalVariableInfo[] entries)
Create a line number table attribute. |
|
| Method Summary | |
(package private) LocalVariableInfo[] |
getLocalVariables()
Returns line number information |
protected int |
getSize()
Returns the space in bytes used by this attribute in the classfile |
protected int |
getTag()
Returns the attribute's tag |
protected void |
resolveConstants(ConstantPool cp)
Insert or check location of constant value on constant pool |
protected void |
write(ConstantPool cp,
DataOutput out)
Write this class into the the file (out) getting data position from the constant pool |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static AsciiConstant attr
private LocalVariableInfo[] entries
| Constructor Detail |
public LocalVariableTable(LocalVariableInfo[] entries)
public LocalVariableTable(DataInput in,
ConstantPool cp,
Instruction[] insns)
throws IOException
in - the stream to read fromcp - the constant poolinsns - (sparse) array of instructions
IOException - an io problem has occured| Method Detail |
protected int getTag()
protected int getSize()
LocalVariableInfo[] getLocalVariables()
protected void resolveConstants(ConstantPool cp)
cp - the constant pool for this class
protected void write(ConstantPool cp,
DataOutput out)
throws IOException
cp - the constant pool that contain all dataout - the file where to write this object info
IOException - an io problem has occured
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||