public final class Dop
extends java.lang.Object
| Constructor and Description |
|---|
Dop(int opcode,
int family,
int nextOpcode,
InsnFormat format,
boolean hasResult)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getFamily()
Gets the opcode family.
|
InsnFormat |
getFormat()
Gets the instruction format.
|
java.lang.String |
getName()
Gets the opcode name.
|
int |
getNextOpcode()
Gets the opcode value to try next when attempting to match an
opcode to particular arguments.
|
int |
getOpcode()
Gets the opcode value.
|
Dop |
getOppositeTest()
Gets the opcode for the opposite test of this instance.
|
boolean |
hasResult()
Returns whether this opcode uses a result register.
|
java.lang.String |
toString() |
public Dop(int opcode,
int family,
int nextOpcode,
InsnFormat format,
boolean hasResult)
opcode - Opcodes.isValid(); the opcode value
itselffamily - Opcodes.isValid(); the opcode familynextOpcode - Opcodes.isValid(); what opcode (by
number) to try next when attempting to match an opcode to
particular arguments; Opcodes.NO_NEXT to indicate that
this is the last opcode to try in a particular chainformat - non-null; the instruction formathasResult - whether the opcode has a result register; if so it
is always the first registerpublic java.lang.String toString()
toString in class java.lang.Objectpublic int getOpcode()
Opcodes.MIN_VALUE..Opcodes.MAX_VALUE; the opcode valuepublic int getFamily()
Opcodes.MIN_VALUE..Opcodes.MAX_VALUE; the opcode familypublic InsnFormat getFormat()
non-null; the instruction formatpublic boolean hasResult()
true iff this opcode uses a result registerpublic java.lang.String getName()
non-null; the opcode namepublic int getNextOpcode()
Opcodes.NO_NEXT to indicate that this is the last opcode to
try in a particular chain.Opcodes.MIN_VALUE..Opcodes.MAX_VALUE; the opcode valuepublic Dop getOppositeTest()
non-null; the opposite testCopyright © 2020. All Rights Reserved.