Class InstructionOffsetMap

java.lang.Object
org.jf.dexlib2.util.InstructionOffsetMap

public class InstructionOffsetMap extends Object
  • Field Details

    • instructionCodeOffsets

      @Nonnull private final int[] instructionCodeOffsets
  • Constructor Details

    • InstructionOffsetMap

      public InstructionOffsetMap(@Nonnull List<? extends Instruction> instructions)
  • Method Details

    • getInstructionIndexAtCodeOffset

      public int getInstructionIndexAtCodeOffset(int codeOffset)
    • getInstructionIndexAtCodeOffset

      public int getInstructionIndexAtCodeOffset(int codeOffset, boolean exact)
    • getInstructionCodeOffset

      public int getInstructionCodeOffset(int index)