Package com.android.dx.io.instructions
Class InvokePolymorphicRangeDecodedInstruction
java.lang.Object
com.android.dx.io.instructions.DecodedInstruction
com.android.dx.io.instructions.InvokePolymorphicRangeDecodedInstruction
A decoded invoke-polymorphic/range instruction.
-
Constructor Summary
ConstructorDescriptionInvokePolymorphicRangeDecodedInstruction
(InstructionCodec format, int opcode, int methodIndex, IndexType indexType, int c, int registerCount, int protoIndex) -
Method Summary
Modifier and TypeMethodDescriptionint
getC()
short
Returns a 45cc or 4rcc proto index.int
withIndex
(int newIndex) Returns an instance just like this one, except with the index replaced with the given one.withProtoIndex
(int newIndex, int newProtoIndex) Update the instruction with a new 45cc or 4rcc proto index.Methods inherited from class com.android.dx.io.instructions.DecodedInstruction
decode, decodeAll, encode, getA, getAByte, getANibble, getAUnit, getB, getBByte, getBNibble, getBUnit, getCByte, getCNibble, getCUnit, getD, getDByte, getDNibble, getDUnit, getE, getENibble, getFormat, getIndex, getIndexType, getIndexUnit, getLiteral, getLiteralByte, getLiteralInt, getLiteralNibble, getLiteralUnit, getOpcode, getOpcodeUnit, getRegisterCountUnit, getTarget, getTarget, getTargetByte, getTargetUnit
-
Constructor Details
-
InvokePolymorphicRangeDecodedInstruction
public InvokePolymorphicRangeDecodedInstruction(InstructionCodec format, int opcode, int methodIndex, IndexType indexType, int c, int registerCount, int protoIndex)
-
-
Method Details
-
getRegisterCount
public int getRegisterCount()- Specified by:
getRegisterCount
in classDecodedInstruction
-
getC
public int getC()- Overrides:
getC
in classDecodedInstruction
-
withProtoIndex
Description copied from class:DecodedInstruction
Update the instruction with a new 45cc or 4rcc proto index.- Overrides:
withProtoIndex
in classDecodedInstruction
-
withIndex
Description copied from class:DecodedInstruction
Returns an instance just like this one, except with the index replaced with the given one.- Specified by:
withIndex
in classDecodedInstruction
-
getProtoIndex
public short getProtoIndex()Description copied from class:DecodedInstruction
Returns a 45cc or 4rcc proto index.- Overrides:
getProtoIndex
in classDecodedInstruction
-