FindBugs™ 1.3.9

edu.umd.cs.findbugs
Class DetectorToDetector2Adapter

java.lang.Object
  extended by edu.umd.cs.findbugs.DetectorToDetector2Adapter
All Implemented Interfaces:
Detector2, Priorities
Direct Known Subclasses:
NonReportingDetectorToDetector2Adapter

public class DetectorToDetector2Adapter
extends java.lang.Object
implements Detector2

An adapter allowing classes implementing the Detector interface to support the new Detector2 interface.

Author:
David Hovemeyer

Field Summary
 
Fields inherited from interface edu.umd.cs.findbugs.Priorities
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY
 
Constructor Summary
DetectorToDetector2Adapter(Detector detector)
          Constructor.
 
Method Summary
 void finishPass()
          This method is called at the end of the analysis pass.
 java.lang.String getDetectorClassName()
          Get the name of the detector class.
 void visitClass(ClassDescriptor classDescriptor)
          Visit a class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DetectorToDetector2Adapter

public DetectorToDetector2Adapter(Detector detector)
Constructor.

Parameters:
detector - the Detector we want to adapt
Method Detail

finishPass

public void finishPass()
Description copied from interface: Detector2
This method is called at the end of the analysis pass.

Specified by:
finishPass in interface Detector2

visitClass

public void visitClass(ClassDescriptor classDescriptor)
                throws CheckedAnalysisException
Description copied from interface: Detector2
Visit a class.

Specified by:
visitClass in interface Detector2
Parameters:
classDescriptor - descriptor naming the class to visit
Throws:
CheckedAnalysisException - if an exception occurs during analysis

getDetectorClassName

public java.lang.String getDetectorClassName()
Description copied from interface: Detector2
Get the name of the detector class.

Specified by:
getDetectorClassName in interface Detector2
Returns:
the name of the detector class.

FindBugs™ 1.3.9

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