Package edu.umd.cs.findbugs
Class PackageWarningSuppressor
- java.lang.Object
-
- edu.umd.cs.findbugs.WarningSuppressor
-
- edu.umd.cs.findbugs.PackageWarningSuppressor
-
- All Implemented Interfaces:
Matcher
public class PackageWarningSuppressor extends WarningSuppressor
-
-
Constructor Summary
Constructors Constructor Description PackageWarningSuppressor(java.lang.String bugPattern, java.lang.String packageName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPackageName()
boolean
match(BugInstance bugInstance)
Determine whether or not the given BugInstance has the feature this Matcher tests for.-
Methods inherited from class edu.umd.cs.findbugs.WarningSuppressor
writeXML
-
-
-
-
Method Detail
-
getPackageName
public java.lang.String getPackageName()
-
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.- Specified by:
match
in interfaceMatcher
- Overrides:
match
in classWarningSuppressor
- Parameters:
bugInstance
- the BugInstance- Returns:
- true if the BugInstance matches, false if not
-
-