Package edu.umd.cs.findbugs
Class DetectorToDetector2Adapter
java.lang.Object
edu.umd.cs.findbugs.DetectorToDetector2Adapter
- All Implemented Interfaces:
Detector2
,Priorities
- Direct Known Subclasses:
NonReportingDetectorToDetector2Adapter
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
This method is called at the end of the analysis pass.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
Methods inherited from interface edu.umd.cs.findbugs.Detector2
getDetectorClassName
-
Constructor Details
-
DetectorToDetector2Adapter
Constructor.- Parameters:
detector
- the Detector we want to adapt
-
-
Method Details
-
finishPass
public void finishPass()Description copied from interface:Detector2
This method is called at the end of the analysis pass.- Specified by:
finishPass
in interfaceDetector2
-
visitClass
Description copied from interface:Detector2
Visit a class.- Specified by:
visitClass
in interfaceDetector2
- Parameters:
classDescriptor
- descriptor naming the class to visit- Throws:
CheckedAnalysisException
- if an exception occurs during analysis
-