FindBugs™ 1.3.9

edu.umd.cs.findbugs.classfile.engine.bcel
Class ClassContextClassAnalysisEngine

java.lang.Object
  extended by edu.umd.cs.findbugs.classfile.RecomputableClassAnalysisEngine<ClassContext>
      extended by edu.umd.cs.findbugs.classfile.engine.bcel.ClassContextClassAnalysisEngine
All Implemented Interfaces:
IAnalysisEngine<ClassDescriptor,ClassContext>, IClassAnalysisEngine<ClassContext>

public class ClassContextClassAnalysisEngine
extends RecomputableClassAnalysisEngine<ClassContext>

Adapter to produce the ClassContext for a given class. This is backwards-compatibility for the BCEL-based analysis framework.

Author:
David Hovemeyer

Constructor Summary
ClassContextClassAnalysisEngine()
           
 
Method Summary
 ClassContext 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassContextClassAnalysisEngine

public ClassContextClassAnalysisEngine()
Method Detail

analyze

public ClassContext 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

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.