Class ClassNodeAnalysisEngine

java.lang.Object
edu.umd.cs.findbugs.classfile.RecomputableClassAnalysisEngine<org.objectweb.asm.tree.ClassNode>
edu.umd.cs.findbugs.classfile.engine.asm.ClassNodeAnalysisEngine
All Implemented Interfaces:
IAnalysisEngine<ClassDescriptor,org.objectweb.asm.tree.ClassNode>, IClassAnalysisEngine<org.objectweb.asm.tree.ClassNode>

public class ClassNodeAnalysisEngine extends RecomputableClassAnalysisEngine<org.objectweb.asm.tree.ClassNode>
Analysis engine to produce the ClassNode (ASM tree format) for a class.
Author:
David Hovemeyer
  • Constructor Details

    • ClassNodeAnalysisEngine

      public ClassNodeAnalysisEngine()
  • Method Details

    • analyze

      public org.objectweb.asm.tree.ClassNode 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