edu.umd.cs.findbugs.ba
Class CFGPrinter
java.lang.Object
edu.umd.cs.findbugs.ba.CFGPrinter
- Direct Known Subclasses:
- DataflowCFGPrinter, DFSCFGPrinter
public class CFGPrinter
- extends java.lang.Object
Print out a representation of a control-flow graph.
For debugging.
- See Also:
CFG
,
CFGBuilder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CFGPrinter
public CFGPrinter(CFG cfg)
setIsForwards
public void setIsForwards(boolean isForwards)
isForwards
public boolean isForwards()
- Returns:
- Returns the isForwards.
print
public void print(java.io.PrintStream out)
edgeAnnotate
public java.lang.String edgeAnnotate(Edge edge)
blockStartAnnotate
public java.lang.String blockStartAnnotate(BasicBlock block)
blockAnnotate
public java.lang.String blockAnnotate(BasicBlock block)
instructionAnnotate
public java.lang.String instructionAnnotate(org.apache.bcel.generic.InstructionHandle handle,
BasicBlock bb)
instructionIterator
protected java.util.Iterator<org.apache.bcel.generic.InstructionHandle> instructionIterator(BasicBlock bb)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.