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 TypeMethodDescriptionvoidvisitBasicBlock(BasicBlock basicBlock) Start to visit the given BasicBlock.voidVisit an Edge connecting two BasicBlocks in the Path being visited.voidvisitInstructionHandle(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
-