|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.dex.code.DalvInsn
com.android.dx.dex.code.FixedSizeInsn
com.android.dx.dex.code.SimpleInsn
public final class SimpleInsn
Instruction which has no extra info beyond the basics provided for in the base class.
| Constructor Summary | |
|---|---|
SimpleInsn(Dop opcode,
SourcePosition position,
RegisterSpecList registers)
Constructs an instance. |
|
| Method Summary | |
|---|---|
protected String |
argString()
Gets the string form for any arguments to this instance. |
DalvInsn |
withOpcode(Dop opcode)
Returns an instance that is just like this one, except that its opcode is replaced by the one given, and its address is reset. |
DalvInsn |
withRegisters(RegisterSpecList registers)
Returns an instance that is just like this one, except that the register list is replaced by the given one, and its address is reset. |
| Methods inherited from class com.android.dx.dex.code.FixedSizeInsn |
|---|
codeSize, listingString0, withRegisterOffset, writeTo |
| Methods inherited from class com.android.dx.dex.code.DalvInsn |
|---|
expandedPrefix, expandedSuffix, expandedVersion, getAddress, getLowRegVersion, getMinimumRegisterRequirement, getNextAddress, getOpcode, getPosition, getRegisters, hasAddress, hasResult, identifierString, listingString, makeMove, setAddress, toString, withMapper |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleInsn(Dop opcode,
SourcePosition position,
RegisterSpecList registers)
-1).
opcode - the opcode; one of the constants from Dopsposition - non-null; source positionregisters - non-null; register list, including a
result register if appropriate (that is, registers may be either
ins or outs)| Method Detail |
|---|
public DalvInsn withOpcode(Dop opcode)
withOpcode in class DalvInsnopcode - non-null; the new opcode
non-null; an appropriately-constructed instancepublic DalvInsn withRegisters(RegisterSpecList registers)
withRegisters in class DalvInsnregisters - non-null; new register list
non-null; an appropriately-constructed instanceprotected String argString()
argString in class DalvInsnnull-ok; the string version of any arguments or
null if there are none
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||