|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.dms.classfile.LineNumberInfo
public class LineNumberInfo
VMS 4.7.8: 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
| 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). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||