public class DataflowCFGPrinter<Fact,AnalysisType extends DataflowAnalysis<Fact>> extends CFGPrinter
Constructor and Description |
---|
DataflowCFGPrinter(Dataflow<Fact,AnalysisType> dataflow)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
blockAnnotate(BasicBlock bb) |
java.lang.String |
blockStartAnnotate(BasicBlock bb) |
java.lang.String |
edgeAnnotate(Edge edge) |
java.lang.String |
instructionAnnotate(org.apache.bcel.generic.InstructionHandle handle,
BasicBlock bb) |
static <Fact,AnalysisType extends BasicAbstractDataflowAnalysis<Fact>> |
printCFG(Dataflow<Fact,AnalysisType> dataflow,
java.io.PrintStream out)
Print CFG annotated with results from given dataflow analysis.
|
instructionIterator, isForwards, print, setIsForwards
public DataflowCFGPrinter(Dataflow<Fact,AnalysisType> dataflow)
dataflow
- the Dataflow object whose values should be used to annotate
the printed CFGpublic java.lang.String edgeAnnotate(Edge edge)
edgeAnnotate
in class CFGPrinter
public java.lang.String blockStartAnnotate(BasicBlock bb)
blockStartAnnotate
in class CFGPrinter
public java.lang.String blockAnnotate(BasicBlock bb)
blockAnnotate
in class CFGPrinter
public java.lang.String instructionAnnotate(org.apache.bcel.generic.InstructionHandle handle, BasicBlock bb)
instructionAnnotate
in class CFGPrinter
public static <Fact,AnalysisType extends BasicAbstractDataflowAnalysis<Fact>> void printCFG(Dataflow<Fact,AnalysisType> dataflow, java.io.PrintStream out)
Fact
- Dataflow fact typeAnalysisType
- Dataflow analysis typedataflow
- dataflow driverout
- PrintStream to useFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.