edu.umd.cs.findbugs.ba
Class ClassContext.CFGFactory

java.lang.Object
  extended by edu.umd.cs.findbugs.ba.ClassContext.AnalysisFactory<CFG>
      extended by edu.umd.cs.findbugs.ba.ClassContext.CFGFactory
Enclosing class:
ClassContext

private class ClassContext.CFGFactory
extends ClassContext.AnalysisFactory<CFG>


Constructor Summary
ClassContext.CFGFactory()
           
 
Method Summary
protected  CFG analyze(org.apache.bcel.classfile.Method method)
           
 CFG getAnalysis(org.apache.bcel.classfile.Method method)
          Get the Analysis for given method.
 CFG getRawCFG(org.apache.bcel.classfile.Method method)
           
 CFG getRefinedCFG(org.apache.bcel.classfile.Method method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassContext.CFGFactory

public ClassContext.CFGFactory()
Method Detail

getAnalysis

public CFG getAnalysis(org.apache.bcel.classfile.Method method)
                throws CFGBuilderException
Description copied from class: ClassContext.AnalysisFactory
Get the Analysis for given method. If Analysis has already been performed, the cached result is returned.

Overrides:
getAnalysis in class ClassContext.AnalysisFactory<CFG>
Parameters:
method - the method to analyze
Returns:
the Analysis object representing the result of analyzing the method
Throws:
CFGBuilderException - if the CFG can't be constructed for the method

getRawCFG

public CFG getRawCFG(org.apache.bcel.classfile.Method method)
              throws CFGBuilderException
Throws:
CFGBuilderException

getRefinedCFG

public CFG getRefinedCFG(org.apache.bcel.classfile.Method method)
                  throws CFGBuilderException
Throws:
CFGBuilderException

analyze

protected CFG analyze(org.apache.bcel.classfile.Method method)
               throws CFGBuilderException
Specified by:
analyze in class ClassContext.AnalysisFactory<CFG>
Throws:
CFGBuilderException