Class UselessSuppressionDetector
java.lang.Object
edu.umd.cs.findbugs.detect.UselessSuppressionDetector
- All Implemented Interfaces:
Detector2, Priorities
An empty detector reporting:
- US_USELESS_SUPPRESSION_ON_CLASS
- US_USELESS_SUPPRESSION_ON_FIELD
- US_USELESS_SUPPRESSION_ON_METHOD
- US_USELESS_SUPPRESSION_ON_METHOD_PARAMETER
- US_USELESS_SUPPRESSION_ON_PACKAGE
NoteSuppressedWarnings which is a NonReportingDetector-
Field Summary
Fields inherited from interface Priorities
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis method is called at the end of the analysis pass.voidvisitClass(ClassDescriptor classDescriptor) Visit a class.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Detector2
getDetectorClassName
-
Constructor Details
-
UselessSuppressionDetector
public UselessSuppressionDetector() -
UselessSuppressionDetector
-
-
Method Details
-
visitClass
Description copied from interface:Detector2Visit a class.- Specified by:
visitClassin interfaceDetector2- Parameters:
classDescriptor- descriptor naming the class to visit- Throws:
CheckedAnalysisException- if an exception occurs during analysis
-
finishPass
public void finishPass()Description copied from interface:Detector2This method is called at the end of the analysis pass.- Specified by:
finishPassin interfaceDetector2
-