Package edu.umd.cs.findbugs
Class WarningSuppressor
- java.lang.Object
-
- edu.umd.cs.findbugs.WarningSuppressor
-
- All Implemented Interfaces:
Matcher
- Direct Known Subclasses:
ClassWarningSuppressor
,PackageWarningSuppressor
public abstract class WarningSuppressor extends java.lang.Object implements Matcher
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
bugPattern
(package private) static boolean
DEBUG
protected SuppressMatchType
matchType
-
Constructor Summary
Constructors Modifier Constructor Description protected
WarningSuppressor(java.lang.String bugPattern, SuppressMatchType matchType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
match(BugInstance bugInstance)
Determine whether or not the given BugInstance has the feature this Matcher tests for.void
writeXML(XMLOutput xmlOutput, boolean disabled)
-
-
-
Field Detail
-
DEBUG
static final boolean DEBUG
-
bugPattern
protected final java.lang.String bugPattern
-
matchType
protected final SuppressMatchType matchType
-
-
Constructor Detail
-
WarningSuppressor
protected WarningSuppressor(java.lang.String bugPattern, SuppressMatchType matchType)
-
-
Method Detail
-
match
public boolean match(BugInstance bugInstance)
Description copied from interface:Matcher
Determine whether or not the given BugInstance has the feature this Matcher tests for.
-
-