Package edu.umd.cs.findbugs.ba
Interface PathVisitor
public interface PathVisitor
Visit the BasicBlocks, InstructionHandles, and Edges along a Path.
- Author:
- David Hovemeyer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
visitBasicBlock
(BasicBlock basicBlock) Start to visit the given BasicBlock.void
Visit an Edge connecting two BasicBlocks in the Path being visited.void
visitInstructionHandle
(org.apache.bcel.generic.InstructionHandle handle) Visit an InstructionHandle within the BasicBlock currently being visited.
-
Method Details
-
visitBasicBlock
Start to visit the given BasicBlock.- Parameters:
basicBlock
- a BasicBlock in the Path being visited
-
visitInstructionHandle
void visitInstructionHandle(org.apache.bcel.generic.InstructionHandle handle) Visit an InstructionHandle within the BasicBlock currently being visited.- Parameters:
handle
- an InstructionHandle within the current BasicBlock
-
visitEdge
Visit an Edge connecting two BasicBlocks in the Path being visited.- Parameters:
edge
- an Edge connecting two BasicBlocks in the Path being visited
-