Value which keeps track of the bytecode instructions that can produce it.
| Modifier and Type | Field and Description |
|---|---|
| public final Set | insns
The instructions that can produce this value. |
| public final int | size
The size of this value, in 32 bits words. |
| Access | Constructor and Description |
|---|---|
| public | SourceValue(final int
the size of this value, in 32 bits words. This size is 1 for byte, boolean, char,
short, int, float, object and array types, and 2 for long and double. size)Constructs a new |
| public | SourceValue(final int
the size of this value, in 32 bits words. This size is 1 for byte, boolean, char,
short, int, float, object and array types, and 2 for long and double. size, final AbstractInsnNode an instruction that can produce this value. insnNode)Constructs a new |
| public | SourceValue(final int
the size of this value, in 32 bits words. This size is 1 for byte, boolean, char,
short, int, float, object and array types, and 2 for long and double. size, final Set<AbstractInsnNode> the instructions that can produce this value. insnSet)Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object
the reference object with which to compare. value)Overrides java. |
| public int | Returns: the size of this value, in 32 bits words. This size is 1 for byte, boolean, char, short, int, float, object and array types, and 2 for long and double.Implements org. |
| public int |
| insns | back to summary |
|---|---|
| public final Set<AbstractInsnNode> insns The instructions that can produce this value. For example, for the Java code below, the
instructions that can produce the value of
1: i = 0;
2: if (...) {
3: i = 1;
4: }
5: return i;
| |
| size | back to summary |
|---|---|
| public final int size The size of this value, in 32 bits words. This size is 1 for byte, boolean, char, short, int, float, object and array types, and 2 for long and double. | |
| SourceValue | back to summary |
|---|---|
| public SourceValue(final int size) Constructs a new
| |
| SourceValue | back to summary |
|---|---|
| public SourceValue(final int size, final AbstractInsnNode insnNode) Constructs a new
| |
| SourceValue | back to summary |
|---|---|
| public SourceValue(final int size, final Set<AbstractInsnNode> insnSet) Constructs a new
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object value) 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. | |
| getSize | back to summary |
|---|---|
| public int getSize() Implements org. Returns the size of this value.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |