Class MethodFactory
- java.lang.Object
-
- edu.umd.cs.findbugs.classfile.engine.bcel.AnalysisFactory<org.apache.bcel.classfile.Method>
-
- edu.umd.cs.findbugs.classfile.engine.bcel.MethodFactory
-
- All Implemented Interfaces:
IAnalysisEngine<MethodDescriptor,org.apache.bcel.classfile.Method>,IMethodAnalysisEngine<org.apache.bcel.classfile.Method>
public class MethodFactory extends AnalysisFactory<org.apache.bcel.classfile.Method>
Method analysis engine to produce BCEL Method objects.- Author:
- David Hovemeyer
-
-
Constructor Summary
Constructors Constructor Description MethodFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.bcel.classfile.Methodanalyze(IAnalysisCache analysisCache, MethodDescriptor descriptor)Perform an analysis on class or method named by given descriptor.voidregisterWith(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
-
-
-
-
Method Detail
-
analyze
public org.apache.bcel.classfile.Method 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
-
registerWith
public void registerWith(IAnalysisCache analysisCache)
Description copied from interface:IAnalysisEngineRegister the analysis engine with given analysis cache.- Specified by:
registerWithin interfaceIAnalysisEngine<MethodDescriptor,org.apache.bcel.classfile.Method>- Overrides:
registerWithin classAnalysisFactory<org.apache.bcel.classfile.Method>- Parameters:
analysisCache- the analysis cache
-
-