| Modifier and Type | Field and Description |
|---|---|
| private final int | family
|
| private final InsnFormat | format
|
| private final boolean | hasResult
whether this opcode uses a result register |
| private final int | nextOpcode
|
| private final int | opcode
|
| Access | Constructor and Description |
|---|---|
| public | Dop(int
Opcodes.isValid(); the opcode value
itselfOpcodes.isValid(); the opcode familyOpcodes.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 chainnon-null; the instruction formatwhether the opcode has a result register; if so it
is always the first register hasResult)Constructs an instance. |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public InsnFormat | |
| public String | |
| public int | Returns: Opcodes.MIN_VALUE..Opcodes.MAX_VALUE; the opcode valueGets the opcode value to try next when attempting to match an opcode to particular arguments. |
| public int | |
| public Dop | Returns: non-null; the opposite testGets the opcode for the opposite test of this instance. |
| public boolean | Returns: true iff this opcode uses a result registerReturns whether this opcode uses a result register. |
| public String |
| family | back to summary |
|---|---|
| private final int family
| |
| format | back to summary |
|---|---|
| private final InsnFormat format
| |
| hasResult | back to summary |
|---|---|
| private final boolean hasResult whether this opcode uses a result register | |
| nextOpcode | back to summary |
|---|---|
| private final int nextOpcode
| |
| opcode | back to summary |
|---|---|
| private final int opcode
| |
| Dop | back to summary |
|---|---|
| public Dop(int opcode, int family, int nextOpcode, InsnFormat format, boolean hasResult) Constructs an instance.
| |
| getFamily | back to summary |
|---|---|
| public int getFamily() Gets the opcode family. The opcode family is the unmarked (no "/...") opcode that has equivalent semantics to this one.
| |
| getFormat | back to summary |
|---|---|
| public InsnFormat getFormat() Gets the instruction format.
| |
| getName | back to summary |
|---|---|
| public String getName() Gets the opcode name.
| |
| getNextOpcode | back to summary |
|---|---|
| public int getNextOpcode() Gets the opcode value to try next when attempting to match an
opcode to particular arguments. This returns
| |
| getOpcode | back to summary |
|---|---|
| public int getOpcode() Gets the opcode value.
| |
| getOppositeTest | back to summary |
|---|---|
| public Dop getOppositeTest() Gets the opcode for the opposite test of this instance. This is only valid for opcodes which are in fact tests.
| |
| hasResult | back to summary |
|---|---|
| public boolean hasResult() Returns whether this opcode uses a result register.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |