Class JavaClassAnalysisEngine

  • All Implemented Interfaces:
    IAnalysisEngine<ClassDescriptor,​org.apache.bcel.classfile.JavaClass>, IClassAnalysisEngine<org.apache.bcel.classfile.JavaClass>

    public class JavaClassAnalysisEngine
    extends java.lang.Object
    implements IClassAnalysisEngine<org.apache.bcel.classfile.JavaClass>
    Analysis engine to produce a BCEL JavaClass object for a named class.
    Author:
    David Hovemeyer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.bcel.classfile.JavaClass analyze​(IAnalysisCache analysisCache, ClassDescriptor descriptor)
      Perform an analysis on class or method named by given descriptor.
      boolean canRecompute()
      Return true if analysis results produced by this analysis engine can be recomputed.
      void registerWith​(IAnalysisCache analysisCache)
      Register the analysis engine with given analysis cache.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JavaClassAnalysisEngine

        public JavaClassAnalysisEngine()
    • Method Detail

      • canRecompute

        public boolean canRecompute()
        Description copied from interface: IClassAnalysisEngine
        Return true if analysis results produced by this analysis engine can be recomputed. Unless some correctness criterion prevents analysis results from being recomputed, analysis engines should return true (allowing the cache to be kept to a manageable size).
        Specified by:
        canRecompute in interface IClassAnalysisEngine<org.apache.bcel.classfile.JavaClass>
        Returns:
        true if analysis results produced by this engine can be recomputed, false if for some reason the analysis results must be retained indefinitely