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>
public class MethodGenFactory extends AnalysisFactory<org.apache.bcel.generic.MethodGen>
Analysis engine to produce MethodGen objects for analyzed methods.- Author:
- David Hovemeyer, Bill Pugh
-
-
Constructor Summary
Constructors Constructor Description MethodGenFactory()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.bcel.generic.MethodGen
analyze(IAnalysisCache analysisCache, MethodDescriptor descriptor)
Perform an analysis on class or method named by given descriptor.-
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, registerWith, toString
-
-
-
-
Method Detail
-
analyze
public org.apache.bcel.generic.MethodGen 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 cachedescriptor
- the descriptor of the class or method to be analyzed- Returns:
- the result of the analysis of the class or method
- Throws:
CheckedAnalysisException
-
-