| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private final Method | |
| private final String | |
| private final Location | |
| private final Location | |
| private final String | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv | LocalVariableImpl(VirtualMachine vm, Method method, int slot, Location scopeStart, Location scopeEnd, String name, String signature, String genericSignature)
|
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(LocalVariable object)
Implements java. Compares this object with the specified object for order. |
| public boolean | equals(Object obj)
Overrides com. Implements com. Compares the specified Object with this LocalVariable for equality. |
| public Type | |
| public String | genericSignature()
Implements com. Gets the generic signature for this variable if there is one. |
| public int | hashCode()
Overrides com. Implements com. Returns the hash code value for this LocalVariable. |
| pack-priv boolean | |
| public boolean | isArgument()
Implements com. Determines if this variable is an argument to its method. |
| public boolean | isVisible(StackFrame frame)
Implements com. Determines whether this variable can be accessed from the given
|
| public String | |
| public String | signature()
Implements com. Gets the type signature of the local variable. |
| pack-priv int | |
| public String | toString()
Overrides java. Implements com. Returns a String describing this mirror |
| public Type | type()
Implements com. Returns the type of this variable. |
| public String | Returns: a text representation of the declared type of this variable.Implements com. Returns a text representation of the type of this variable. |
| genericSignature | back to summary |
|---|---|
| private String genericSignature | |
| method | back to summary |
|---|---|
| private final Method method | |
| name | back to summary |
|---|---|
| private final String name | |
| scopeEnd | back to summary |
|---|---|
| private final Location scopeEnd | |
| scopeStart | back to summary |
|---|---|
| private final Location scopeStart | |
| signature | back to summary |
|---|---|
| private final String signature | |
| slot | back to summary |
|---|---|
| private final int slot | |
| LocalVariableImpl | back to summary |
|---|---|
| pack-priv LocalVariableImpl(VirtualMachine vm, Method method, int slot, Location scopeStart, Location scopeEnd, String name, String signature, String genericSignature) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(LocalVariable object) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides com. Implements com. Doc from com. Compares the specified Object with this LocalVariable for equality. | |
| findType | back to summary |
|---|---|
| public Type findType(String signature) throws ClassNotLoadedException Implements com. | |
| genericSignature | back to summary |
|---|---|
| public String genericSignature() Implements com. Doc from com. Gets the generic signature for this variable if there is one. Generic signatures are described in the The Java Virtual Machine Specification. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides com. Implements com. Doc from com. Returns the hash code value for this LocalVariable. | |
| hides | back to summary |
|---|---|
| pack-priv boolean hides(LocalVariable other) | |
| isArgument | back to summary |
|---|---|
| public boolean isArgument() Implements com. Doc from com. Determines if this variable is an argument to its method. | |
| isVisible | back to summary |
|---|---|
| public boolean isVisible(StackFrame frame) Implements com. Doc from com. Determines whether this variable can be accessed from the given
| |
| name | back to summary |
|---|---|
| public String name() Implements com. Doc from com. Gets the name of the local variable. | |
| signature | back to summary |
|---|---|
| public String signature() Implements com. Doc from com. Gets the type signature of the local variable. | |
| slot | back to summary |
|---|---|
| pack-priv int slot() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Implements com. Doc from com. Returns a String describing this mirror | |
| type | back to summary |
|---|---|
| public Type type() throws ClassNotLoadedException Implements com. Doc from com. Returns the type of this variable. Where the type is the type specified in the declaration of this local variable. Note if the type of this variable is a reference type (class,
interface, or array) and it has not been created or loaded
by the class loader of the enclosing class,
then ClassNotLoadedException will be thrown.
Also, a reference type may have been loaded but not yet prepared,
in which case the type will be returned
but attempts to perform some operations on the returned type
(e.g.
| |
| typeName | back to summary |
|---|---|
| public String typeName() Implements com. Doc from com. Returns a text representation of the type of this variable. Where the type is the type specified in the declaration of this local variable. This type name is always available even if the type has not yet been created or loaded.
| |