|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.util.classfile.LineNumberInfo
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 InstructionAccessor |
inst
|
private int |
line
|
| Constructor Summary | |
LineNumberInfo(DataInput in,
ConstantPool cp,
Instruction[] insns)
Create an entry in the line number table from a class file stream |
|
LineNumberInfo(short line,
InstructionAccessor inst)
Create an entry in the line number table |
|
| Method Summary | |
InstructionAccessor |
getInstruction()
Returns the instruction where the line begins |
int |
getLine()
Returns the line number in the source code |
void |
setInstruction(InstructionAccessor inst)
Sets the instruction where the line begins |
void |
transformAccessors(AccessorTransformer transformer)
Transforms targets (deferences to actual instructions). |
(package private) void |
write(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 int line
private InstructionAccessor inst
| Constructor Detail |
public LineNumberInfo(short line,
InstructionAccessor inst)
line - the line number in the source codeinst - the instruction where the line begins
public LineNumberInfo(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 |
public void transformAccessors(AccessorTransformer transformer)
throws BadAccessorException
transformAccessors in interface AccessorContainertransformer - the transformer used to transform accessors
BadAccessorExceptionpublic int getLine()
public InstructionAccessor getInstruction()
public void setInstruction(InstructionAccessor inst)
void write(DataOutput out)
throws IOException
out - 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 | ||||||||||