public class JavaClassAnalysisEngine extends java.lang.Object implements IClassAnalysisEngine<org.apache.bcel.classfile.JavaClass>
Constructor and Description |
---|
JavaClassAnalysisEngine() |
Modifier and Type | Method and Description |
---|---|
org.apache.bcel.classfile.JavaClass |
analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor)
Perform an analysis on class or method named by given descriptor.
|
boolean |
canRecompute()
Return true if analysis results produced by this analysis engine can be
recomputed.
|
void |
registerWith(IAnalysisCache analysisCache)
Register the analysis engine with given analysis cache.
|
public org.apache.bcel.classfile.JavaClass analyze(IAnalysisCache analysisCache, ClassDescriptor descriptor) throws CheckedAnalysisException
IAnalysisEngine
analyze
in interface IAnalysisEngine<ClassDescriptor,org.apache.bcel.classfile.JavaClass>
analysisCache
- the analysis cachedescriptor
- the descriptor of the class or method to be analyzedCheckedAnalysisException
public void registerWith(IAnalysisCache analysisCache)
IAnalysisEngine
registerWith
in interface IAnalysisEngine<ClassDescriptor,org.apache.bcel.classfile.JavaClass>
analysisCache
- the analysis cachepublic boolean canRecompute()
IClassAnalysisEngine
canRecompute
in interface IClassAnalysisEngine<org.apache.bcel.classfile.JavaClass>
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.