Code, LocalVariable
| Modifier and Type | Field and Description |
|---|---|
| private LocalVariable[] | localVariableTable
Deprecated
as a consequence of
LocalVariable being deprecated.
|
| Access | Constructor and Description |
|---|---|
| pack-priv | LocalVariableTable(final int
Index in constant pool nameIndex, final int Content length in bytes length, final DataInput Input stream input, final ConstantPool Array of constants constantPool)Constructs object from input stream. |
| public | LocalVariableTable(final int
Index in constant pool to 'LocalVariableTable' nameIndex, final int Content length in bytes length, final LocalVariable[] Table of local variables localVariableTable, final ConstantPool Array of constants constantPool)
Deprecated
as a consequence of
LocalVariable being deprecated.
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final Visitor
Visitor object v)Implements abstract org. Implements org. |
| public Attribute | Returns: deep copy of this attributeconstant pool to save. constantPool)Implements abstract org. |
| public final void | dump(final DataOutputStream
Output file stream file)Overrides org. |
| public final LocalVariable | Returns: the first LocalVariable that matches the slot or null if not foundthe variable slot index)
Deprecated
since 5.2 because multiple variables can share the same slot, use getLocalVariable(int index, int pc)
instead.
|
| public final LocalVariable | Returns: the LocalVariable that matches or null if not foundthe variable slot index, final int the current pc that this variable is alive pc)
Deprecated
as a consequence of
LocalVariable being deprecated.
|
| public final LocalVariable[] | Returns: Array of local variables of method.
Deprecated
as a consequence of
LocalVariable being deprecated.
|
| public final int | |
| public Iterator | |
| public final void | setLocalVariableTable(final LocalVariable[] localVariableTable)
Deprecated
as a consequence of
LocalVariable being deprecated.
|
| public final String | Returns: String representation.Overrides org. |
| localVariableTable | back to summary |
|---|---|
| private LocalVariable[] localVariableTable
Deprecated as a consequence of | |
| LocalVariableTable | back to summary |
|---|---|
| pack-priv LocalVariableTable(final int nameIndex, final int length, final DataInput input, final ConstantPool constantPool) throws IOException Constructs object from input stream.
| |
| LocalVariableTable | back to summary |
|---|---|
| public LocalVariableTable(final int nameIndex, final int length, final LocalVariable[] localVariableTable, final ConstantPool constantPool)
Deprecated as a consequence of
| |
| LocalVariableTable | back to summary |
|---|---|
| public LocalVariableTable(final LocalVariableTable c) Initialize from another object. Note that both objects use the same references (shallow copy). Use copy() for a physical copy.
| |
| accept | back to summary |
|---|---|
| public void accept(final Visitor v) Implements abstract org. Implements org. Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects. | |
| copy | back to summary |
|---|---|
| public Attribute copy(final ConstantPool constantPool) Implements abstract org.
| |
| dump | back to summary |
|---|---|
| public final void dump(final DataOutputStream file) throws IOException Overrides org. Dump local variable table attribute to file stream in binary format.
| |
| getLocalVariable | back to summary |
|---|---|
| public final LocalVariable getLocalVariable(final int index)
Deprecated since 5.2 because multiple variables can share the same slot, use getLocalVariable(int index, int pc) instead.
| |
| getLocalVariable | back to summary |
|---|---|
| public final LocalVariable getLocalVariable(final int index, final int pc)
Deprecated as a consequence of
| |
| getLocalVariableTable | back to summary |
|---|---|
| public final LocalVariable[] getLocalVariableTable()
Deprecated as a consequence of
| |
| getTableLength | back to summary |
|---|---|
| public final int getTableLength() | |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type
| |
| setLocalVariableTable | back to summary |
|---|---|
| public final void setLocalVariableTable(final LocalVariable[] localVariableTable)
Deprecated as a consequence of | |
| toString | back to summary |
|---|---|
| public final String toString() Overrides org. Doc from java. Returns a string representation of the object. | |