Class UselessSuppressionDetector

java.lang.Object
edu.umd.cs.findbugs.detect.UselessSuppressionDetector
All Implemented Interfaces:
Detector2, Priorities

public class UselessSuppressionDetector extends Object implements Detector2
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
This is needed so the bug instances are not from NoteSuppressedWarnings which is a NonReportingDetector
  • Constructor Details

    • UselessSuppressionDetector

      public UselessSuppressionDetector()
    • UselessSuppressionDetector

      public UselessSuppressionDetector(BugReporter reporter)
  • Method Details