Class ClassReaderAnalysisEngine
- java.lang.Object
-
- edu.umd.cs.findbugs.classfile.RecomputableClassAnalysisEngine<FBClassReader>
-
- edu.umd.cs.findbugs.classfile.engine.asm.ClassReaderAnalysisEngine
-
- All Implemented Interfaces:
IAnalysisEngine<ClassDescriptor,FBClassReader>
,IClassAnalysisEngine<FBClassReader>
public class ClassReaderAnalysisEngine extends RecomputableClassAnalysisEngine<FBClassReader>
Analysis engine to produce an ASM ClassReader for a class.- Author:
- David Hovemeyer
-
-
Constructor Summary
Constructors Constructor Description ClassReaderAnalysisEngine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FBClassReader
analyze(IAnalysisCache analysisCache, ClassDescriptor 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.RecomputableClassAnalysisEngine
canRecompute
-
-
-
-
Method Detail
-
analyze
public FBClassReader analyze(IAnalysisCache analysisCache, ClassDescriptor 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
public void registerWith(IAnalysisCache analysisCache)
Description copied from interface:IAnalysisEngine
Register the analysis engine with given analysis cache.- Parameters:
analysisCache
- the analysis cache
-
-