Interface BytecodeScanner.Callback

All Known Implementing Classes:
UnpackedBytecodeCallback
Enclosing class:
BytecodeScanner

public static interface BytecodeScanner.Callback
Callback interface to report scanned instructions.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleInstruction(int opcode, int index)
    Called to indicate that a particular bytecode has been scanned.
  • Method Details

    • handleInstruction

      void handleInstruction(int opcode, int index)
      Called to indicate that a particular bytecode has been scanned.
      Parameters:
      opcode - the opcode of the instruction
      index - the bytecode offset of the instruction