Class DexBackedInstruction
- java.lang.Object
-
- org.jf.dexlib2.dexbacked.instruction.DexBackedInstruction
-
- All Implemented Interfaces:
Instruction
- Direct Known Subclasses:
DexBackedArrayPayload,DexBackedInstruction10t,DexBackedInstruction10x,DexBackedInstruction11n,DexBackedInstruction11x,DexBackedInstruction12x,DexBackedInstruction20bc,DexBackedInstruction20t,DexBackedInstruction21c,DexBackedInstruction21ih,DexBackedInstruction21lh,DexBackedInstruction21s,DexBackedInstruction21t,DexBackedInstruction22b,DexBackedInstruction22c,DexBackedInstruction22cs,DexBackedInstruction22s,DexBackedInstruction22t,DexBackedInstruction22x,DexBackedInstruction23x,DexBackedInstruction30t,DexBackedInstruction31c,DexBackedInstruction31i,DexBackedInstruction31t,DexBackedInstruction32x,DexBackedInstruction35c,DexBackedInstruction35mi,DexBackedInstruction35ms,DexBackedInstruction3rc,DexBackedInstruction3rmi,DexBackedInstruction3rms,DexBackedInstruction45cc,DexBackedInstruction4rcc,DexBackedInstruction51l,DexBackedPackedSwitchPayload,DexBackedSparseSwitchPayload,DexBackedUnknownInstruction
public abstract class DexBackedInstruction extends java.lang.Object implements Instruction
-
-
Field Summary
Fields Modifier and Type Field Description DexBackedDexFiledexFileintinstructionStartOpcodeopcode
-
Constructor Summary
Constructors Constructor Description DexBackedInstruction(DexBackedDexFile dexFile, Opcode opcode, int instructionStart)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCodeUnits()Gets the size of this instruction.OpcodegetOpcode()Gets the opcode of this instruction.static InstructionreadFrom(DexBackedDexFile dexFile, DexReader reader)
-
-
-
Field Detail
-
dexFile
@Nonnull public final DexBackedDexFile dexFile
-
opcode
@Nonnull public final Opcode opcode
-
instructionStart
public final int instructionStart
-
-
Constructor Detail
-
DexBackedInstruction
public DexBackedInstruction(@Nonnull DexBackedDexFile dexFile, @Nonnull Opcode opcode, int instructionStart)
-
-
Method Detail
-
getOpcode
@Nonnull public Opcode 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.
-
readFrom
@Nonnull public static Instruction readFrom(DexBackedDexFile dexFile, @Nonnull DexReader reader)
-
-