All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----harpoon.ClassFile.Raw.Attribute.Attribute | +----harpoon.ClassFile.Raw.Attribute.AttributeLocalVariableTable
LocalVariableTable
attribute is an optional
variable-length attribute of a Code
attribute. It may
be used by debuggers to determine the value of a given local variable
during the execution of a method. If LocalVariableTable
attributes are present in the attributes
table of a
given Code
attribute, then they may appear in any
order. There may be no more than one LocalVariableTable
attribute per local variable in the Code
attribute.
This object represents a table mapping local variable indexes to symbolic names. This attribute is optional; typically it is not included unless debugging flags are given to the compiler.
local_variable_table
array
indicates a range of code
offsets within which a
local variable has a value.
attribute_length
item indicates
the length of the attribute, excluding the initial six bytes.
public LocalVariableTable local_variable_table[]
local_variable_table
array
indicates a range of code
offsets within which a
local variable has a value. It also indicates the index into
the local variables of the current frame at which that local
variable can be found.
public AttributeLocalVariableTable(ClassFile parent, int attribute_name_index, LocalVariableTable local_variable_table[])
public long attribute_length()
attribute_length
item indicates
the length of the attribute, excluding the initial six bytes.
public int local_variable_table_length()
public void write(ClassDataOutputStream out) throws IOException
public String localName(int pc, int index)
public void print(PrintWriter pw, int indent)
All Packages Class Hierarchy This Package Previous Next Index