Class MethodBytecodeSetFactory
java.lang.Object
edu.umd.cs.findbugs.classfile.engine.bcel.AnalysisFactory<MethodBytecodeSet>
edu.umd.cs.findbugs.classfile.engine.bcel.MethodBytecodeSetFactory
- All Implemented Interfaces:
IAnalysisEngine<MethodDescriptor,
,MethodBytecodeSet> IMethodAnalysisEngine<MethodBytecodeSet>
- Author:
- David Hovemeyer
-
Constructor Summary
ConstructorsConstructorDescriptionMethodBytecodeSetFactory
(String analysisName, Class<MethodBytecodeSet> analysisClass) -
Method Summary
Modifier and TypeMethodDescriptionanalyze
(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
-
Constructor Details
-
MethodBytecodeSetFactory
- Parameters:
analysisName
-analysisClass
-
-
-
Method Details
-
analyze
public MethodBytecodeSet 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
-
registerWith
Description copied from interface:IAnalysisEngine
Register the analysis engine with given analysis cache.- Specified by:
registerWith
in interfaceIAnalysisEngine<MethodDescriptor,
MethodBytecodeSet> - Overrides:
registerWith
in classAnalysisFactory<MethodBytecodeSet>
- Parameters:
analysisCache
- the analysis cache
-