|
||||||||||
| 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.ZeroSizeInsn
public abstract class ZeroSizeInsn
Pseudo-instruction base class for zero-size (no code emitted) instructions, which are generally used for tracking metainformation about the code they are adjacent to.
| Constructor Summary | |
|---|---|
ZeroSizeInsn(SourcePosition position)
Constructs an instance. |
|
| Method Summary | |
|---|---|
int |
codeSize()
Gets the size of this instruction, in 16-bit code units. |
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 |
withRegisterOffset(int delta)
Returns an instance that is just like this one, except that all register references have been offset by the given delta, and its address is reset. |
void |
writeTo(AnnotatedOutput out)
Writes this instance to the given output. |
| Methods inherited from class com.android.dx.dex.code.DalvInsn |
|---|
argString, expandedPrefix, expandedSuffix, expandedVersion, getAddress, getLowRegVersion, getMinimumRegisterRequirement, getNextAddress, getOpcode, getPosition, getRegisters, hasAddress, hasResult, identifierString, listingString, listingString0, makeMove, setAddress, toString, withMapper, withRegisters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ZeroSizeInsn(SourcePosition position)
-1).
position - non-null; source position| Method Detail |
|---|
public final int codeSize()
codeSize in class DalvInsn>= 0; the code size of this instructionpublic final void writeTo(AnnotatedOutput out)
writeTo in class DalvInsnout - non-null; where to write topublic final DalvInsn withOpcode(Dop opcode)
withOpcode in class DalvInsnopcode - non-null; the new opcode
non-null; an appropriately-constructed instancepublic DalvInsn withRegisterOffset(int delta)
withRegisterOffset in class DalvInsndelta - the amount to offset register references by
non-null; an appropriately-constructed instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||