Package edu.umd.cs.findbugs
Class WarningSuppressor
java.lang.Object
edu.umd.cs.findbugs.WarningSuppressor
- All Implemented Interfaces:
Matcher
- Direct Known Subclasses:
ClassWarningSuppressor
,PackageWarningSuppressor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final String
(package private) static final boolean
protected final SuppressMatchType
protected static final int
protected static final String
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
WarningSuppressor
(String bugPattern, SuppressMatchType matchType) -
Method Summary
Modifier and TypeMethodDescriptionabstract BugInstance
boolean
boolean
match
(BugInstance bugInstance) Determine whether or not the given BugInstance has the feature this Matcher tests for.void
-
Field Details
-
USELESS_SUPPRESSION_ABB
- See Also:
-
PRIORITY
protected static final int PRIORITY- See Also:
-
DEBUG
static final boolean DEBUG -
bugPattern
-
matchType
-
-
Constructor Details
-
WarningSuppressor
-
-
Method Details
-
match
Description copied from interface:Matcher
Determine whether or not the given BugInstance has the feature this Matcher tests for. -
isUselessSuppressionReportable
public boolean isUselessSuppressionReportable()- Returns:
- true if useless suppressions should be reported.
-
buildUselessSuppressionBugInstance
-
writeXML
- Specified by:
writeXML
in interfaceMatcher
- Throws:
IOException
-