edu.umd.cs.findbugs.ba
public class TargetEnumeratingVisitor extends EmptyVisitor implements EdgeTypes
Constructor Summary | |
---|---|
TargetEnumeratingVisitor(InstructionHandle handle, ConstantPoolGen constPoolGen)
Constructor.
|
Method Summary | |
---|---|
boolean | instructionIsExit()
Is the analyzed instruction an exit (call to System.exit())? |
boolean | instructionIsReturn()
Is the analyzed instruction a method return? |
boolean | instructionIsThrow()
Is the analyzed instruction an explicit throw? |
boolean | isEndOfBasicBlock()
Is the instruction the end of a basic block? |
Iterator<Target> | targetIterator()
Iterate over Target objects representing control flow targets
and their edge types. |
Parameters: handle the handle of the instruction whose targets should be enumerated constPoolGen the ConstantPoolGen object for the class