All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----harpoon.ClassFile.Raw.Attribute.Attribute | +----harpoon.ClassFile.Raw.Attribute.AttributeLineNumberTable
LineNumberTable
attribute is an optional
variable-length attribute in the attributes
table of a
Code
attribute. It may be used by debuggers to
determine which part of the Java Virtual Machine code
array corresponds to a given line number in the original Java source
file. If LineNumberTable
attributes are present in the
attributes
table of a given Code
attribute,
then they may appear in any order. Furthermore, multiple
LineNumberTable
attributes may together represent a
given line of a Java source file; that is,
LineNumberTable
attributes need not be one-to-one with
source lines.
line_number_table
array indicates
that the line number in the original Java source file changes at
a given point in the code
array.
attribute_length
item indicates
the length of the attribute, excluding the initial six bytes.
public LineNumberTable line_number_table[]
line_number_table
array indicates
that the line number in the original Java source file changes at
a given point in the code
array.
public AttributeLineNumberTable(ClassFile parent, int attribute_name_index, LineNumberTable line_number_table[])
public long attribute_length()
attribute_length
item indicates
the length of the attribute, excluding the initial six bytes.
public int line_number_table_length()
public void write(ClassDataOutputStream out) throws IOException
public void print(PrintWriter pw, int indent)
All Packages Class Hierarchy This Package Previous Next Index