|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.dex.code.Dop
public final class Dop
Representation of an opcode.
| Constructor Summary | |
|---|---|
Dop(int opcode,
int family,
int nextOpcode,
InsnFormat format,
boolean hasResult)
Constructs an instance. |
|
| Method Summary | |
|---|---|
int |
getFamily()
Gets the opcode family. |
InsnFormat |
getFormat()
Gets the instruction format. |
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. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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 register| Method Detail |
|---|
public String toString()
toString in class 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 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 test
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||