Constructor and Description |
---|
LineNumberTable(int nameIndex,
int length,
LineNumber[] lineNumberTable,
ConstantPool constantPool) |
LineNumberTable(LineNumberTable c) |
Modifier and Type | Method and Description |
---|---|
void |
accept(ClassVisitor v)
Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class.
|
void |
dump(java.io.DataOutputStream file)
Dump line number table attribute to file stream in binary format.
|
LineNumber[] |
getLineNumberTable() |
int |
getSourceLine(int pos)
Map byte code positions to source code lines.
|
int |
getTableLength() |
void |
setLineNumberTable(LineNumber[] line_number_table) |
java.lang.String |
toString() |
getConstantPool, getLength, getName, getNameIndex, getTag, readAttribute
public LineNumberTable(LineNumberTable c)
public LineNumberTable(int nameIndex, int length, LineNumber[] lineNumberTable, ConstantPool constantPool)
public void accept(ClassVisitor v)
public final void dump(java.io.DataOutputStream file) throws java.io.IOException
public final LineNumber[] getLineNumberTable()
public final void setLineNumberTable(LineNumber[] line_number_table)
line_number_table.
- public final java.lang.String toString()
public int getSourceLine(int pos)
pos
- byte code offsetpublic final int getTableLength()