Class MethodGenFactory

java.lang.Object
edu.umd.cs.findbugs.classfile.engine.bcel.AnalysisFactory<org.apache.bcel.generic.MethodGen>
edu.umd.cs.findbugs.classfile.engine.bcel.MethodGenFactory
All Implemented Interfaces:
IAnalysisEngine<MethodDescriptor,org.apache.bcel.generic.MethodGen>, IMethodAnalysisEngine<org.apache.bcel.generic.MethodGen>

public class MethodGenFactory extends AnalysisFactory<org.apache.bcel.generic.MethodGen>
Analysis engine to produce MethodGen objects for analyzed methods.
Author:
David Hovemeyer, Bill Pugh
  • Constructor Details

    • MethodGenFactory

      public MethodGenFactory()
      Constructor.
  • Method Details

    • analyze

      public org.apache.bcel.generic.MethodGen analyze(IAnalysisCache analysisCache, MethodDescriptor 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