|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--at.dms.classfile.LineNumberInfo
An entry in a LineNumberTable.
Constructor Summary | |
LineNumberInfo(java.io.DataInput in,
ConstantPool cp,
Instruction[] instructions)
Create an entry in the line number table from a class file stream. |
|
LineNumberInfo(short line,
InstructionAccessor instruction)
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 instruction)
Sets the instruction where the line begins |
void |
transformAccessors(AccessorTransformer transformer)
Transforms targets. |
(package private) void |
write(java.io.DataOutput out)
Write this class into the the file (out) getting data position from the constant pool. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public LineNumberInfo(short line, InstructionAccessor instruction)
line
- The line number in the source code.instruction
- The instruction where the line begins.public LineNumberInfo(java.io.DataInput in, ConstantPool cp, Instruction[] instructions) throws java.io.IOException
in
- The stream to read from.cp
- The constant pool.instructions
- (sparse) array of instructions.java.io.IOException
- An io problem has occured.Method Detail |
public void transformAccessors(AccessorTransformer transformer) throws BadAccessorException
transformAccessors
in interface AccessorContainer
at.dms.classfile.AccessorContainer
transformer
- The transformer used to transform accessors.public int getLine()
public InstructionAccessor getInstruction()
public void setInstruction(InstructionAccessor instruction)
void write(java.io.DataOutput out) throws java.io.IOException
cp
- The constant pool that contain all data.out
- The file where to write this object info.java.io.IOException
- An io problem has occured.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |