IAnalysisEngine<MethodDescriptor,ResultType>
, IMethodAnalysisEngine<org.apache.bcel.classfile.Method>
public class MethodFactory extends AnalysisFactory<org.apache.bcel.classfile.Method>
Constructor | Description |
---|---|
MethodFactory() |
Modifier and Type | Method | Description |
---|---|---|
org.apache.bcel.classfile.Method |
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.
|
getAssertionMethods, getCFG, getCompactLocationNumbering, getConstantPoolGen, getDepthFirstSearch, getExceptionSetFactory, getIsNullValueDataflow, getJavaClass, getLoadedFieldSet, getMethod, getMethodGen, getReverseDepthFirstSearch, getTypeDataflow, getValueNumberDataflow, toString
public org.apache.bcel.classfile.Method analyze(IAnalysisCache analysisCache, MethodDescriptor descriptor) throws CheckedAnalysisException
IAnalysisEngine
analysisCache
- the analysis cachedescriptor
- the descriptor of the class or method to be analyzedCheckedAnalysisException
public void registerWith(IAnalysisCache analysisCache)
IAnalysisEngine
registerWith
in interface IAnalysisEngine<MethodDescriptor,ResultType>
registerWith
in class AnalysisFactory<org.apache.bcel.classfile.Method>
analysisCache
- the analysis cacheSpotBugs is licensed under the LGPL.