| Modifier and Type | Field and Description |
|---|---|
| private final Type[] | locals
The Type[] containing the local variable slots. |
| Access | Constructor and Description |
|---|---|
| public | LocalVariables(final int
local variable count. localVariableCount)Creates a new LocalVariables object. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | clone()
Overrides java. |
| public boolean | equals(final Object
the reference object with which to compare. o)Overrides java. |
| public Type | Returns: the type of the local variable slot index.Slot to look up. slotIndex)Returns the type of the local variable slot index. |
| public LocalVariables | Returns: a (correctly typed) clone of this object.Returns a (correctly typed) clone of this object. |
| public int | Returns: a hash code value for the object.Overrides java. |
| public void | initializeObject(final UninitializedObjectType
the object to match. uninitializedObjectType)
Deprecated
as a consequence of
Replaces all occurrences of UninitializedObjectType being deprecated.
uninitializedObjectType in this local variables set with an "initialized"
ObjectType.
|
| public int | |
| public void | merge(final LocalVariables
other local variable. localVariable)Merges two local variables sets as described in the Java Virtual Machine Specification, Second Edition, section 4.9.2, page 146. |
| private void | |
| public void | |
| public String |
| locals | back to summary |
|---|---|
| private final Type[] locals The Type[] containing the local variable slots. | |
| LocalVariables | back to summary |
|---|---|
| public LocalVariables(final int localVariableCount) Creates a new LocalVariables object.
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Returns a deep copy of this object; i.e. the clone operates on a new local variable array. However, the Type objects in the array are shared.
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| get | back to summary |
|---|---|
| public Type get(final int slotIndex) Returns the type of the local variable slot index.
| |
| getClone | back to summary |
|---|---|
| public LocalVariables getClone() Returns a (correctly typed) clone of this object. This is equivalent to ((LocalVariables) this.clone()).
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| initializeObject | back to summary |
|---|---|
| public void initializeObject(final UninitializedObjectType uninitializedObjectType)
Deprecated as a consequence of Replaces all occurrences of
| |
| maxLocals | back to summary |
|---|---|
| public int maxLocals() Returns the number of local variable slots.
| |
| merge | back to summary |
|---|---|
| public void merge(final LocalVariables localVariable) Merges two local variables sets as described in the Java Virtual Machine Specification, Second Edition, section 4.9.2, page 146.
| |
| merge | back to summary |
|---|---|
| private void merge(final LocalVariables lv, final int i) Merges a single local variable.
| |
| set | back to summary |
|---|---|
| public void set(final int slotIndex, final Type type) Sets a new Type for the given local variable slot.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a String representation of this object.
| |