Class PackedSwitchPayloadDecodedInstruction
java.lang.Object
com.android.dx.io.instructions.DecodedInstruction
com.android.dx.io.instructions.PackedSwitchPayloadDecodedInstruction
A decoded Dalvik instruction which contains the payload for
a
packed-switch instruction.-
Constructor Summary
ConstructorsConstructorDescriptionPackedSwitchPayloadDecodedInstruction(InstructionCodec format, int opcode, int firstKey, int[] targets) Constructs an instance. -
Method Summary
Modifier and TypeMethodDescriptionintintint[]withIndex(int newIndex) Returns an instance just like this one, except with the index replaced with the given one.Methods inherited from class DecodedInstruction
decode, decodeAll, encode, getA, getAByte, getANibble, getAUnit, getB, getBByte, getBNibble, getBUnit, getC, getCByte, getCNibble, getCUnit, getD, getDByte, getDNibble, getDUnit, getE, getENibble, getFormat, getIndex, getIndexType, getIndexUnit, getLiteral, getLiteralByte, getLiteralInt, getLiteralNibble, getLiteralUnit, getOpcode, getOpcodeUnit, getProtoIndex, getRegisterCountUnit, getTarget, getTarget, getTargetByte, getTargetUnit, withProtoIndex
-
Constructor Details
-
PackedSwitchPayloadDecodedInstruction
public PackedSwitchPayloadDecodedInstruction(InstructionCodec format, int opcode, int firstKey, int[] targets) Constructs an instance.
-
-
Method Details
-
getRegisterCount
public int getRegisterCount()- Specified by:
getRegisterCountin classDecodedInstruction
-
getFirstKey
public int getFirstKey() -
getTargets
public int[] getTargets() -
withIndex
Returns an instance just like this one, except with the index replaced with the given one.- Specified by:
withIndexin classDecodedInstruction
-