public class LocalVariableTableEntry extends LocalVariableCommonEntry
descriptorOrSignatureIndex, index, length, LENGTH, nameIndex, startPc
classFile, debug, SYSTEM_PROPERTY_DEBUG
Constructor and Description |
---|
LocalVariableTableEntry() |
Modifier and Type | Method and Description |
---|---|
static LocalVariableTableEntry |
create(java.io.DataInput in,
ClassFile classFile)
Factory method for creating LocalVariableTableEntry structures.
|
protected void |
debug(java.lang.String message)
Utility method for derived structures.
|
int |
getDescriptorIndex()
Get the index of the constant pool entry containing the descriptor of this
local variable.
|
void |
setDescriptorIndex(int descriptorIndex)
Get the index of the constant pool entry containing the descriptor of this
local variable.
|
getDescriptorOrSignatureIndex, getIndex, getLength, getNameIndex, getStartPc, printAccessFlagsVerbose, read, setDescriptorOrSignatureIndex, setIndex, setLength, setNameIndex, setStartPc, write
getClassFile, getDebug, getLength, printAccessFlags, printAccessFlagsVerbose, printBytes, setClassFile, setDebug
public static LocalVariableTableEntry create(java.io.DataInput in, ClassFile classFile) throws InvalidByteCodeException, java.io.IOException
in
- the DataInput from which to read the
LocalVariableTableEntry structureclassFile
- the parent class file of the structure to be createdInvalidByteCodeException
- if the byte code is invalidjava.io.IOException
- if an exception occurs with the DataInputpublic int getDescriptorIndex()
public void setDescriptorIndex(int descriptorIndex)
descriptorIndex
- the indexprotected void debug(java.lang.String message)
AbstractStructure
debug
in class AbstractStructure
message
- the debug message