Class UselessSuppressionDetector

  • All Implemented Interfaces:
    Detector2, Priorities

    public class UselessSuppressionDetector
    extends java.lang.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 Detail

      • UselessSuppressionDetector

        public UselessSuppressionDetector()
      • UselessSuppressionDetector

        public UselessSuppressionDetector​(BugReporter reporter)