Class ConstantPoolGenFactory
java.lang.Object
edu.umd.cs.findbugs.classfile.RecomputableClassAnalysisEngine<org.apache.bcel.generic.ConstantPoolGen>
edu.umd.cs.findbugs.classfile.engine.bcel.ConstantPoolGenFactory
- All Implemented Interfaces:
IAnalysisEngine<ClassDescriptor,
,org.apache.bcel.generic.ConstantPoolGen> IClassAnalysisEngine<org.apache.bcel.generic.ConstantPoolGen>
public class ConstantPoolGenFactory
extends RecomputableClassAnalysisEngine<org.apache.bcel.generic.ConstantPoolGen>
Analysis engine to produce ConstantPoolGen objects for an analyzed class.
- Author:
- David Hovemeyer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.bcel.generic.ConstantPoolGen
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
-
Constructor Details
-
ConstantPoolGenFactory
public ConstantPoolGenFactory()
-
-
Method Details
-
analyze
public org.apache.bcel.generic.ConstantPoolGen 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
Description copied from interface:IAnalysisEngine
Register the analysis engine with given analysis cache.- Parameters:
analysisCache
- the analysis cache
-