All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----harpoon.ClassFile.Raw.Attribute.LocalVariableTable
code
array offsets
within which a local variable has a value.
descriptor_index
item must be a
valid index into the constant_pool
table.
index
in its
method's local variables.
code
array in the closed interval
[start_pc, start_pc + length]
.
name_index
item must be a valid
index into the constant_pool
table.
code
array in the closed interval
[start_pc, start_pc + length]
.
protected ClassFile parent
public int start_pc
code
array in the closed interval
[start_pc, start_pc + length]
.
The value of start_pc
must be a valid index
into the code
array of this Code
attribute of the opcode of an instruction.
public int length
code
array in the closed interval
[start_pc, start_pc + length]
.
The value of start_pc+length
must be either a
valid index into the code
array of this
Code
attribute of the opcode of an instruction,
or the first index beyond the end of that code
array.
public int name_index
name_index
item must be a valid
index into the constant_pool
table. The
constant_pool
entry at that index must contain a
CONSTANT_Utf8_info
structure representing a valid
Java local variable name stored as a simple name.
public int descriptor_index
descriptor_index
item must be a
valid index into the constant_pool
table. The
constant_pool
entry at that index must contain a
CONSTANT_Utf8_info
structure representing a valid
descriptor for a Java local variable. Java local variable
descriptors have the same form as field descriptors.
public int index
index
in its
method's local variables. If the local variable at
index
is a two-word type (double
or
long
), it occupies both index
and
index+1
.
public LocalVariableTable(ClassFile parent, int start_pc, int length, int name_index, int descriptor_index, int index)
public void write(ClassDataOutputStream out) throws IOException
public ConstantUtf8 name_index()
public ConstantUtf8 descriptor_index()
public String name()
public String descriptor()
public int end_pc()
public void print(PrintWriter pw, int indent)
All Packages Class Hierarchy This Package Previous Next Index