public abstract class LocalVariableCommonAttribute extends AttributeInfo
Modifier and Type | Field and Description |
---|---|
protected static int |
INITIAL_LENGTH |
protected LocalVariableCommonEntry[] |
localVariableTable |
SYSTEM_PROPERTY_SKIP_ATTRIBUTES
attributes
classFile, debug, SYSTEM_PROPERTY_DEBUG
Constructor and Description |
---|
LocalVariableCommonAttribute() |
Modifier and Type | Method and Description |
---|---|
LocalVariableCommonEntry[] |
getLocalVariableEntries()
Get the list of local variable associations of the parent Code
structure as an array of LocalVariableCommonEntry structures.
|
void |
setLocalVariableEntries(LocalVariableCommonEntry[] localVariableEntries)
Set the list of local variable associations of the parent Code
structure as an array of LocalVariableCommonEntry structures.
|
void |
write(java.io.DataOutput out)
Write this structure to the given DataOutput.
|
createOrSkip, getAttributeLength, getAttributeNameIndex, getInfo, getName, printAccessFlagsVerbose, read, setAttributeNameIndex, setInfo
findAttribute, getAttributes, getTotalAttributesLength, readAttributes, setAttributes, writeAttributes
debug, getClassFile, getDebug, getLength, printAccessFlags, printAccessFlagsVerbose, printBytes, setClassFile, setDebug
protected static final int INITIAL_LENGTH
protected LocalVariableCommonEntry[] localVariableTable
public LocalVariableCommonEntry[] getLocalVariableEntries()
public void setLocalVariableEntries(LocalVariableCommonEntry[] localVariableEntries)
localVariableEntries
- the arraypublic void write(java.io.DataOutput out) throws InvalidByteCodeException, java.io.IOException
AbstractStructure
The written bytes are in JVM class file format.
write
in class AttributeInfo
out
- the DataOutput to which to writeInvalidByteCodeException
- if the structure is internally inconsistentjava.io.IOException
- if an exception occurs with the DataOutput