Detector2
, Priorities
NonReportingDetectorToDetector2Adapter
public class DetectorToDetector2Adapter extends java.lang.Object implements Detector2
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY
Constructor | Description |
---|---|
DetectorToDetector2Adapter(Detector detector) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
public DetectorToDetector2Adapter(Detector detector)
detector
- the Detector we want to adaptpublic void finishPass()
Detector2
finishPass
in interface Detector2
public void visitClass(ClassDescriptor classDescriptor) throws CheckedAnalysisException
Detector2
visitClass
in interface Detector2
classDescriptor
- descriptor naming the class to visitCheckedAnalysisException
- if an exception occurs during analysispublic java.lang.String getDetectorClassName()
Detector2
getDetectorClassName
in interface Detector2
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.