Package edu.umd.cs.findbugs
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstructionScanner
createScanner()
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 Detail
-
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.
-
-