Package com.android.dx.io.instructions
Class InvokePolymorphicDecodedInstruction
java.lang.Object
com.android.dx.io.instructions.DecodedInstruction
com.android.dx.io.instructions.InvokePolymorphicDecodedInstruction
A decoded invoke-polymorphic instruction.
-
Constructor Summary
ConstructorDescriptionInvokePolymorphicDecodedInstruction
(InstructionCodec format, int opcode, int methodIndex, IndexType indexType, int protoIndex, int[] registers) -
Method Summary
Modifier and TypeMethodDescriptionint
getC()
int
getD()
int
getE()
int
getF()
int
getG()
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, 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:
getRegisterCount
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
-
withProtoIndex
Description copied from class:DecodedInstruction
Update the instruction with a new 45cc or 4rcc proto index.- Overrides:
withProtoIndex
in classDecodedInstruction
-
getC
public int getC()- Overrides:
getC
in classDecodedInstruction
-
getD
public int getD()- Overrides:
getD
in classDecodedInstruction
-
getE
public int getE()- Overrides:
getE
in classDecodedInstruction
-
getF
public int getF() -
getG
public int getG() -
getProtoIndex
public short getProtoIndex()Description copied from class:DecodedInstruction
Returns a 45cc or 4rcc proto index.- Overrides:
getProtoIndex
in classDecodedInstruction
-