Interface InstructionScannerGenerator


public interface InstructionScannerGenerator
Class for generating InstructionScanners at particular instructions of a path. Because we don't know a priori where we might want to start scanning in order to find a pattern in a path, we use this interface to tell us which locations are candidates for starting a pattern.
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a new scanner.
    boolean
    start(org.apache.bcel.generic.InstructionHandle handle)
    Return true if a new scanner should be created starting at this instruction, false otherwise.
  • Method Details

    • start

      boolean start(org.apache.bcel.generic.InstructionHandle handle)
      Return true if a new scanner should be created starting at this instruction, false otherwise.
    • createScanner

      InstructionScanner createScanner()
      Create a new scanner.