LocalVariableTable
| Modifier and Type | Field and Description |
|---|---|
| private ConstantPool | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv | LocalVariable(DataInputStream
Input stream file, ConstantPool constant_pool)Construct object from file stream. |
| public | LocalVariable(int
Range in which the variable start_pc, int ... is valid length, int Index in constant pool of variable name name_index, int Index of variable's signature signature_index, int Variable is `index'th local variable on the method's frame index, ConstantPool Array of constants constant_pool)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(ClassVisitor
Visitor object v)Implements org. |
| public LocalVariable | |
| public final void | |
| public final ConstantPool | |
| public final int | |
| public final int | |
| public final String | |
| public final int | |
| public final String | |
| public final int | |
| public final int | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final String | Returns: string representation.Overrides java. |
| constant_pool | back to summary |
|---|---|
| private ConstantPool constant_pool | |
| index | back to summary |
|---|---|
| private int index | |
| length | back to summary |
|---|---|
| private int length | |
| name_index | back to summary |
|---|---|
| private int name_index | |
| signature_index | back to summary |
|---|---|
| private int signature_index | |
| start_pc | back to summary |
|---|---|
| private int start_pc | |
| LocalVariable | back to summary |
|---|---|
| public LocalVariable(LocalVariable c) Initialize from another object. Note that both objects use the same references (shallow copy). Use copy() for a physical copy. | |
| LocalVariable | back to summary |
|---|---|
| pack-priv LocalVariable(DataInputStream file, ConstantPool constant_pool) throws IOException Construct object from file stream.
| |
| LocalVariable | back to summary |
|---|---|
public LocalVariable(int start_pc, int length, int name_index, int signature_index, int index, ConstantPool constant_pool)
| |
| accept | back to summary |
|---|---|
| public void accept(ClassVisitor v) Implements org. Called by objects that are traversing the nodes of the tree implicitely 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 LocalVariable copy()
| |
| dump | back to summary |
|---|---|
| public final void dump(DataOutputStream file) throws IOException Dump local variable to file stream in binary format.
| |
| getConstantPool | back to summary |
|---|---|
public final ConstantPool getConstantPool()
| |
| getIndex | back to summary |
|---|---|
public final int getIndex()
| |
| getLength | back to summary |
|---|---|
public final int getLength()
| |
| getName | back to summary |
|---|---|
public final String getName()
| |
| getNameIndex | back to summary |
|---|---|
public final int getNameIndex()
| |
| getSignature | back to summary |
|---|---|
public final String getSignature()
| |
| getSignatureIndex | back to summary |
|---|---|
public final int getSignatureIndex()
| |
| getStartPC | back to summary |
|---|---|
public final int getStartPC()
| |
| setConstantPool | back to summary |
|---|---|
public final void setConstantPool(ConstantPool constant_pool)
| |
| setIndex | back to summary |
|---|---|
| public final void setIndex(int index) | |
| setLength | back to summary |
|---|---|
| public final void setLength(int length) | |
| setNameIndex | back to summary |
|---|---|
| public final void setNameIndex(int name_index) | |
| setSignatureIndex | back to summary |
|---|---|
| public final void setSignatureIndex(int signature_index) | |
| setStartPC | back to summary |
|---|---|
public final void setStartPC(int start_pc)
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Doc from java. Returns a string representation of the object. | |