| Modifier and Type | Field and Description |
|---|---|
| protected int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides org. |
| public final int | Returns: index in constant pool referred by this instruction.Overrides org. |
| public int | |
| public Type | |
| public Object | |
| public int | hashCode()
Overrides org. |
| public void | |
| public String | Returns: mnemonic for instructionlong/short format switch verbose)Overrides org. |
| public String |
| index | back to summary |
|---|---|
| protected int index | |
| InstructionCP | back to summary |
|---|---|
| public InstructionCP(short opcode, int index) | |
| dump | back to summary |
|---|---|
| public void dump(DataOutputStream out) throws IOException Overrides org.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides org. 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.
| |
| getIndex | back to summary |
|---|---|
| public final int getIndex() Overrides org.
| |
| getLength | back to summary |
|---|---|
| public int getLength() Overrides org.
| |
| getType | back to summary |
|---|---|
| public Type getType(ConstantPool cpg) Overrides org.
| |
| getValue | back to summary |
|---|---|
| public Object getValue(ConstantPool constantPool) Overrides org.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. 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
| |
| setIndex | back to summary |
|---|---|
| public void setIndex(int index) Overrides org.
| |
| toString | back to summary |
|---|---|
| public String toString(boolean verbose) Overrides org. Long output format: <name of opcode> "["<opcode number>"]" "("<length of instruction>")" "<"< constant pool index>">" | |
| toString | back to summary |
|---|---|
public String toString(ConstantPool cp)
| |