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 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 cache
      descriptor - 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