| |
|
| edu.umd.cs.findbugs.ba.TargetEnumeratingVisitor
TargetEnumeratingVisitor | public class TargetEnumeratingVisitor extends org.apache.bcel.generic.EmptyVisitor implements EdgeTypes(Code) | | Visitor to find all of the targets of an instruction
whose InstructionHandle is given.
Note that we don't consider exception edges.
author: David Hovemeyer author: Chadd Williams |
Constructor Summary | |
public | TargetEnumeratingVisitor(InstructionHandle handle, ConstantPoolGen constPoolGen) Constructor. |
TargetEnumeratingVisitor | public TargetEnumeratingVisitor(InstructionHandle handle, ConstantPoolGen constPoolGen)(Code) | | Constructor.
Parameters: handle - the handle of the instruction whose targets should be enumerated Parameters: constPoolGen - the ConstantPoolGen object for the class |
instructionIsExit | public boolean instructionIsExit()(Code) | | Is the analyzed instruction an exit (call to System.exit())?
|
instructionIsReturn | public boolean instructionIsReturn()(Code) | | Is the analyzed instruction a method return?
|
instructionIsThrow | public boolean instructionIsThrow()(Code) | | Is the analyzed instruction an explicit throw?
|
isEndOfBasicBlock | public boolean isEndOfBasicBlock()(Code) | | Is the instruction the end of a basic block?
|
targetIterator | public Iterator<Target> targetIterator()(Code) | | Iterate over Target objects representing control flow targets
and their edge types.
|
visitATHROW | public void visitATHROW(ATHROW ins)(Code) | | |
visitGotoInstruction | public void visitGotoInstruction(GotoInstruction ins)(Code) | | |
visitINVOKESTATIC | public void visitINVOKESTATIC(INVOKESTATIC ins)(Code) | | |
visitIfInstruction | public void visitIfInstruction(IfInstruction ins)(Code) | | |
visitReturnInstruction | public void visitReturnInstruction(ReturnInstruction ins)(Code) | | |
visitSelect | public void visitSelect(Select ins)(Code) | | |
|
|
|