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
ConstructorsConstructorDescriptionInvokePolymorphicRangeDecodedInstruction(InstructionCodec format, int opcode, int methodIndex, IndexType indexType, int c, int registerCount, int protoIndex) -
Method Summary
Modifier and TypeMethodDescriptionintgetC()shortReturns a 45cc or 4rcc proto index.intwithIndex(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 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:
getRegisterCountin classDecodedInstruction
-
getC
public int getC()- Overrides:
getCin classDecodedInstruction
-
withProtoIndex
Description copied from class:DecodedInstructionUpdate the instruction with a new 45cc or 4rcc proto index.- Overrides:
withProtoIndexin classDecodedInstruction
-
withIndex
Description copied from class:DecodedInstructionReturns an instance just like this one, except with the index replaced with the given one.- Specified by:
withIndexin classDecodedInstruction
-
getProtoIndex
public short getProtoIndex()Description copied from class:DecodedInstructionReturns a 45cc or 4rcc proto index.- Overrides:
getProtoIndexin classDecodedInstruction
-