Package org.jf.dexlib2.analysis
Class UnresolvedOdexInstruction
java.lang.Object
org.jf.dexlib2.analysis.UnresolvedOdexInstruction
- All Implemented Interfaces:
Instruction
This represents a "fixed" odexed instruction, where the object register is always null and so the correct type
can't be determined. Typically, these are replaced by an equivalent instruction that would have the same
effect (namely, an NPE)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnresolvedOdexInstruction(Instruction originalInstruction, int objectRegisterNumber) -
Method Summary
Modifier and TypeMethodDescriptionintGets the size of this instruction.Gets the opcode of this instruction.
-
Field Details
-
originalInstruction
-
objectRegisterNum
public final int objectRegisterNum
-
-
Constructor Details
-
UnresolvedOdexInstruction
-
-
Method Details
-
getOpcode
Description copied from interface:InstructionGets the opcode of this instruction.- Specified by:
getOpcodein interfaceInstruction- Returns:
- The Opcode of this instruction.
-
getCodeUnits
public int getCodeUnits()Description copied from interface:InstructionGets the size of this instruction.- Specified by:
getCodeUnitsin interfaceInstruction- Returns:
- The size of this instruction, as a count of the number of 16-bit code units that make up this instruction.
-