Class MethodGenFactory
java.lang.Object
edu.umd.cs.findbugs.classfile.engine.bcel.AnalysisFactory<org.apache.bcel.generic.MethodGen>
edu.umd.cs.findbugs.classfile.engine.bcel.MethodGenFactory
- All Implemented Interfaces:
IAnalysisEngine<MethodDescriptor, org.apache.bcel.generic.MethodGen>, IMethodAnalysisEngine<org.apache.bcel.generic.MethodGen>
Analysis engine to produce MethodGen objects for analyzed methods.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.bcel.generic.MethodGenanalyze(IAnalysisCache analysisCache, MethodDescriptor descriptor) Perform an analysis on class or method named by given descriptor.Methods inherited from class AnalysisFactory
getAssertionMethods, getCFG, getCompactLocationNumbering, getConstantPoolGen, getDepthFirstSearch, getExceptionSetFactory, getIsNullValueDataflow, getJavaClass, getLoadedFieldSet, getMethod, getMethodGen, getReverseDepthFirstSearch, getTypeDataflow, getValueNumberDataflow, registerWith, toString
-
Constructor Details
-
MethodGenFactory
public MethodGenFactory()Constructor.
-
-
Method Details
-
analyze
public org.apache.bcel.generic.MethodGen analyze(IAnalysisCache analysisCache, MethodDescriptor descriptor) throws CheckedAnalysisException Description copied from interface:IAnalysisEnginePerform an analysis on class or method named by given descriptor.- Parameters:
analysisCache- the analysis cachedescriptor- the descriptor of the class or method to be analyzed- Returns:
- the result of the analysis of the class or method
- Throws:
CheckedAnalysisException
-