edu.umd.cs.findbugs.ba

Class CFGPrinter

public class CFGPrinter extends Object

Print out a representation of a control-flow graph. For debugging.

See Also: CFG CFGBuilder

Constructor Summary
CFGPrinter(CFG cfg)
Method Summary
StringblockAnnotate(BasicBlock block)
StringblockStartAnnotate(BasicBlock block)
StringedgeAnnotate(Edge edge)
StringinstructionAnnotate(InstructionHandle handle, BasicBlock bb)
protected Iterator<InstructionHandle>instructionIterator(BasicBlock bb)
booleanisForwards()
static voidmain(String[] argv)
voidprint(PrintStream out)
voidsetIsForwards(boolean isForwards)

Constructor Detail

CFGPrinter

public CFGPrinter(CFG cfg)

Method Detail

blockAnnotate

public String blockAnnotate(BasicBlock block)

blockStartAnnotate

public String blockStartAnnotate(BasicBlock block)

edgeAnnotate

public String edgeAnnotate(Edge edge)

instructionAnnotate

public String instructionAnnotate(InstructionHandle handle, BasicBlock bb)

instructionIterator

protected Iterator<InstructionHandle> instructionIterator(BasicBlock bb)

isForwards

public boolean isForwards()

Returns: Returns the isForwards.

main

public static void main(String[] argv)

print

public void print(PrintStream out)

setIsForwards

public void setIsForwards(boolean isForwards)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.