Package edu.umd.cs.findbugs
Class ParameterWarningSuppressor
java.lang.Object
edu.umd.cs.findbugs.WarningSuppressor
edu.umd.cs.findbugs.ClassWarningSuppressor
edu.umd.cs.findbugs.ParameterWarningSuppressor
- All Implemented Interfaces:
Matcher
-
Field Summary
Fields inherited from class edu.umd.cs.findbugs.WarningSuppressor
bugPattern, matchType, PRIORITY, USELESS_SUPPRESSION_ABB
-
Constructor Summary
ConstructorsConstructorDescriptionParameterWarningSuppressor
(String bugPattern, edu.umd.cs.findbugs.annotations.SuppressMatchType matchType, ClassAnnotation clazz, MethodAnnotation method, int register) -
Method Summary
Modifier and TypeMethodDescriptionboolean
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.ClassWarningSuppressor
getClassAnnotation
Methods inherited from class edu.umd.cs.findbugs.WarningSuppressor
isUselessSuppressionReportable, writeXML
-
Constructor Details
-
ParameterWarningSuppressor
public ParameterWarningSuppressor(String bugPattern, edu.umd.cs.findbugs.annotations.SuppressMatchType matchType, ClassAnnotation clazz, MethodAnnotation method, int register)
-
-
Method Details
-
match
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 classClassWarningSuppressor
- Parameters:
bugInstance
- the BugInstance- Returns:
- true if the BugInstance matches, false if not
-
buildUselessSuppressionBugInstance
- Overrides:
buildUselessSuppressionBugInstance
in classClassWarningSuppressor
-