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
InstructionScannercreateScanner()
Create a new scanner.
booleanstart(InstructionHandle handle)
Return true if a new scanner should be created starting at this instruction, false otherwise.

Method Detail

createScanner

public InstructionScanner createScanner()
Create a new scanner.

start

public boolean start(InstructionHandle handle)
Return true if a new scanner should be created starting at this instruction, false otherwise.
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.