public class LocalVariableTypeTableEntry extends LocalVariableCommonEntry
descriptorOrSignatureIndex, index, length, LENGTH, nameIndex, startPc
classFile, debug, SYSTEM_PROPERTY_DEBUG
Constructor and Description |
---|
LocalVariableTypeTableEntry() |
Modifier and Type | Method and Description |
---|---|
static LocalVariableTypeTableEntry |
create(java.io.DataInput in,
ClassFile classFile)
Factory method for creating LocalVariableTypeTableEntry structures.
|
protected void |
debug(java.lang.String message)
Utility method for derived structures.
|
int |
getSignatureIndex()
Get the index of the constant pool entry containing the signature of
this local variable.
|
void |
setSignatureIndex(int signatureIndex)
Get the index of the constant pool entry containing the signature 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 LocalVariableTypeTableEntry create(java.io.DataInput in, ClassFile classFile) throws InvalidByteCodeException, java.io.IOException
in
- the DataInput from which to read the
LocalVariableTypeTableEntry 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 getSignatureIndex()
public void setSignatureIndex(int signatureIndex)
signatureIndex
- the indexprotected void debug(java.lang.String message)
AbstractStructure
debug
in class AbstractStructure
message
- the debug message