Class InvokePolymorphicDecodedInstruction
java.lang.Object
com.android.dx.io.instructions.DecodedInstruction
com.android.dx.io.instructions.InvokePolymorphicDecodedInstruction
A decoded invoke-polymorphic instruction.
-
Constructor Summary
ConstructorsConstructorDescriptionInvokePolymorphicDecodedInstruction(InstructionCodec format, int opcode, int methodIndex, IndexType indexType, int protoIndex, int[] registers) -
Method Summary
Modifier and TypeMethodDescriptionintgetC()intgetD()intgetE()intgetF()intgetG()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, getDByte, getDNibble, getDUnit, getENibble, getFormat, getIndex, getIndexType, getIndexUnit, getLiteral, getLiteralByte, getLiteralInt, getLiteralNibble, getLiteralUnit, getOpcode, getOpcodeUnit, getRegisterCountUnit, getTarget, getTarget, getTargetByte, getTargetUnit
-
Constructor Details
-
InvokePolymorphicDecodedInstruction
public InvokePolymorphicDecodedInstruction(InstructionCodec format, int opcode, int methodIndex, IndexType indexType, int protoIndex, int[] registers)
-
-
Method Details
-
getRegisterCount
public int getRegisterCount()- Specified by:
getRegisterCountin 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
-
withProtoIndex
Description copied from class:DecodedInstructionUpdate the instruction with a new 45cc or 4rcc proto index.- Overrides:
withProtoIndexin classDecodedInstruction
-
getC
public int getC()- Overrides:
getCin classDecodedInstruction
-
getD
public int getD()- Overrides:
getDin classDecodedInstruction
-
getE
public int getE()- Overrides:
getEin classDecodedInstruction
-
getF
public int getF() -
getG
public int getG() -
getProtoIndex
public short getProtoIndex()Description copied from class:DecodedInstructionReturns a 45cc or 4rcc proto index.- Overrides:
getProtoIndexin classDecodedInstruction
-