|
TechTrader Bytecode Toolkit | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.techtrader.modules.tools.bytecode.LineNumber
Represents a linenumber; used for error reporting. TODO: Allow high-level setting of line numbers for Instruction groups.
Constructor Summary | |
protected |
LineNumber(LineNumberTableAttribute owner)
Protected constructor. |
Method Summary | |
void |
acceptVisit(BCVisitor visit)
|
int |
getLineNumber()
Get the line number this entity represents. |
LineNumberTableAttribute |
getOwner()
Line numbers are stored in a LineNumberTableAttribute. |
int |
getStartPc()
Get the index into the code byte array at which this line starts. |
protected void |
invalidate()
Invaildate the line number after it is removed from the LineNumberTableAttribute. |
protected void |
readData(DataInput in)
|
void |
setLineNumber(int lineNumber)
Get the line number this entity represents. |
void |
setStartPc(int startPc)
Set the index into the code byte array at which this line starts. |
protected void |
writeData(DataOutput out)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
protected LineNumber(LineNumberTableAttribute owner)
Method Detail |
public LineNumberTableAttribute getOwner()
protected void invalidate()
public int getStartPc()
public void setStartPc(int startPc)
public int getLineNumber()
public void setLineNumber(int lineNumber)
protected void readData(DataInput in) throws IOException
protected void writeData(DataOutput out) throws IOException
public void acceptVisit(BCVisitor visit)
|
TechTrader Bytecode Toolkit | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |