| Modifier and Type | Field and Description |
|---|---|
| public short |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: Number of words consumed from stack by this instruction, or Constants.UNPREDICTABLE, if this can not be computed statically
|
| public final Instruction | Returns: (shallow) copy of an instructionUse with caution, since 'BranchInstruction's have a 'target' reference which is not copied correctly (only basic types are). |
| pack-priv void | |
| public void | |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public int | |
| public int | |
| public ObjectType | |
| public String | |
| public short | |
| public Type | |
| public Type | |
| public Number | |
| public Object | |
| public int | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public int | Returns: Number of words produced onto stack by this instruction, or Constants.UNPREDICTABLE, if this can not be computed statically
|
| public static final Instruction | Returns: instruction object being readfile to read from bytes)Read an instruction bytecode from an input stream and return the appropriate object. |
| public void | |
| public String | toString(boolean verbose)
Long output format: 'name of opcode' "[" 'opcode number' "]" "(" 'length of instruction' ")" |
| public String |
| opcode | back to summary |
|---|---|
| public short opcode | |
| Instruction | back to summary |
|---|---|
| public Instruction(short opcode) | |
| consumeStack | back to summary |
|---|---|
public int consumeStack(ConstantPool cpg)
| |
| copy | back to summary |
|---|---|
| public final Instruction copy() Use with caution, since 'BranchInstruction's have a 'target' reference which is not copied correctly (only basic types are). This also applies for 'Select' instructions with their multiple branch targets.
| |
| dispose | back to summary |
|---|---|
| pack-priv void dispose() Some instructions may be reused, so don't do anything by default | |
| dump | back to summary |
|---|---|
| public void dump(DataOutputStream out) throws IOException | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) 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. | |
| getIndex | back to summary |
|---|---|
| public int getIndex() | |
| getLength | back to summary |
|---|---|
| public int getLength() | |
| getLoadClassType | back to summary |
|---|---|
| public ObjectType getLoadClassType(ConstantPool cpg) | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getOpcode | back to summary |
|---|---|
| public short getOpcode() | |
| getType | back to summary |
|---|---|
| public Type getType() | |
| getType | back to summary |
|---|---|
| public Type getType(ConstantPool cp) | |
| getValue | back to summary |
|---|---|
| public Number getValue() | |
| getValue | back to summary |
|---|---|
| public Object getValue(ConstantPool cpg) | |
| 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
| |
| isALOAD | back to summary |
|---|---|
| public boolean isALOAD() | |
| isArrayCreationInstruction | back to summary |
|---|---|
| public boolean isArrayCreationInstruction() | |
| isASTORE | back to summary |
|---|---|
| public boolean isASTORE() | |
| isConstantInstruction | back to summary |
|---|---|
| public boolean isConstantInstruction() | |
| isConstantPoolInstruction | back to summary |
|---|---|
| public boolean isConstantPoolInstruction() | |
| isIndexedInstruction | back to summary |
|---|---|
| public boolean isIndexedInstruction() | |
| isJsrInstruction | back to summary |
|---|---|
| public boolean isJsrInstruction() | |
| isLoadInstruction | back to summary |
|---|---|
| public boolean isLoadInstruction() | |
| isLocalVariableInstruction | back to summary |
|---|---|
| public boolean isLocalVariableInstruction() | |
| isReturnInstruction | back to summary |
|---|---|
| public boolean isReturnInstruction() | |
| isStackConsumer | back to summary |
|---|---|
| public boolean isStackConsumer() | |
| isStackProducer | back to summary |
|---|---|
| public boolean isStackProducer() | |
| isStoreInstruction | back to summary |
|---|---|
| public boolean isStoreInstruction() | |
| produceStack | back to summary |
|---|---|
public int produceStack(ConstantPool cpg)
| |
| readInstruction | back to summary |
|---|---|
| public static final Instruction readInstruction(ByteSequence bytes) throws IOException Read an instruction bytecode from an input stream and return the appropriate object.
| |
| setIndex | back to summary |
|---|---|
| public void setIndex(int i) | |
| toString | back to summary |
|---|---|
| public String toString(boolean verbose) Long output format: 'name of opcode' "[" 'opcode number' "]" "(" 'length of instruction' ")" | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |