edu.umd.cs.findbugs
Class InstructionScannerDriver
java.lang.Object
edu.umd.cs.findbugs.InstructionScannerDriver
public class InstructionScannerDriver
- extends java.lang.Object
Drive an InstructionScannerGenerator over the instructions of
a simple path. The generator will create scanners at certain instructions.
Each instruction and edge is fed to all scanners so created.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
edgeIter
private java.util.Iterator<Edge> edgeIter
scannerList
private java.util.LinkedList<InstructionScanner> scannerList
DEBUG
private static final boolean DEBUG
InstructionScannerDriver
public InstructionScannerDriver(java.util.Iterator<Edge> edgeIter)
- Constructor.
- Parameters:
edgeIter
- iterator over Edges specifying path to be scanned
execute
public void execute(InstructionScannerGenerator generator)
- Execute by driving the InstructionScannerGenerator over all instructions.
Each generated InstructionScanner is driven over all instructions and
edges.
- Parameters:
generator
- the InstructionScannerGenerator