|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.IR.RawClass.LineNumberTable
public class LineNumberTable
Each object indicates that the line number in the original Java
source file changes at a given point in the code
array.
AttributeLineNumberTable
Field Summary | |
---|---|
int |
line_number
The value of the line_number item must give the
corresponding line number in the original Java source file. |
int |
start_pc
The value of the start_pc item must indicate the
index into the code array at which the code for a
new line in the original Java source file begins. |
Constructor Summary | |
---|---|
LineNumberTable(int start_pc,
int line_number)
Constructor. |
Method Summary | |
---|---|
String |
toString()
Human-readable string: |
void |
write(ClassDataOutputStream out)
Writes to bytecode stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int start_pc
start_pc
item must indicate the
index into the code
array at which the code for a
new line in the original Java source file begins. The value
of start_pc
must be less than the value of the
code_length
item of the Code
attribute of which this LineNumberTable
is an
attribute.
public int line_number
line_number
item must give the
corresponding line number in the original Java source file.
Constructor Detail |
---|
public LineNumberTable(int start_pc, int line_number)
Method Detail |
---|
public void write(ClassDataOutputStream out) throws IOException
IOException
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |