FindBugs™ 1.3.9

edu.umd.cs.findbugs.classfile.engine.bcel
Class CFGFactory

java.lang.Object
  extended by edu.umd.cs.findbugs.classfile.engine.bcel.AnalysisFactory<CFG>
      extended by edu.umd.cs.findbugs.classfile.engine.bcel.CFGFactory
All Implemented Interfaces:
IAnalysisEngine<MethodDescriptor,CFG>, IMethodAnalysisEngine<CFG>

public class CFGFactory
extends AnalysisFactory<CFG>

Analysis engine to produce CFG (control flow graph) objects for an analyzed method.

Author:
David Hovemeyer

Constructor Summary
CFGFactory()
          Constructor.
 
Method Summary
 CFG analyze(IAnalysisCache analysisCache, MethodDescriptor descriptor)
          Perform an analysis on class or method named by given descriptor.
 void registerWith(IAnalysisCache analysisCache)
          Register the analysis engine with given analysis cache.
 
Methods inherited from class edu.umd.cs.findbugs.classfile.engine.bcel.AnalysisFactory
getAssertionMethods, getCFG, getCompactLocationNumbering, getConstantPoolGen, getDepthFirstSearch, getExceptionSetFactory, getIsNullValueDataflow, getJavaClass, getLoadedFieldSet, getMethod, getMethodGen, getReverseDepthFirstSearch, getTypeDataflow, getValueNumberDataflow, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CFGFactory

public CFGFactory()
Constructor.

Method Detail

analyze

public CFG analyze(IAnalysisCache analysisCache,
                   MethodDescriptor descriptor)
            throws CheckedAnalysisException
Description copied from interface: IAnalysisEngine
Perform an analysis on class or method named by given descriptor.

Parameters:
analysisCache - the analysis cache
descriptor - the descriptor of the class or method to be analyzed
Returns:
the result of the analysis of the class or method
Throws:
CheckedAnalysisException

registerWith

public void registerWith(IAnalysisCache analysisCache)
Description copied from interface: IAnalysisEngine
Register the analysis engine with given analysis cache.

Specified by:
registerWith in interface IAnalysisEngine<MethodDescriptor,CFG>
Overrides:
registerWith in class AnalysisFactory<CFG>
Parameters:
analysisCache - the analysis cache

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.