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
FieldsModifier and TypeFieldDescriptionprivate static final String(package private) final MethodAnnotation(package private) final intFields inherited from class ClassWarningSuppressor
clazzFields inherited from class WarningSuppressor
bugPattern, DEBUG, matchType, PRIORITY, USELESS_SUPPRESSION_ABB -
Constructor Summary
ConstructorsConstructorDescriptionParameterWarningSuppressor(String bugPattern, SuppressMatchType matchType, ClassAnnotation clazz, MethodAnnotation method, int register, boolean userGeneratedClass) -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatch(BugInstance bugInstance) Determine whether or not the given BugInstance has the feature this Matcher tests for.Methods inherited from class ClassWarningSuppressor
getClassAnnotation, isUselessSuppressionReportableMethods inherited from class WarningSuppressor
addAlternateSuppressors, adjustBugPatternForMessage, getAlternateSuppressors, writeXML
-
Field Details
-
BUG_TYPE
- See Also:
-
method
-
register
final int register
-
-
Constructor Details
-
ParameterWarningSuppressor
public ParameterWarningSuppressor(String bugPattern, SuppressMatchType matchType, ClassAnnotation clazz, MethodAnnotation method, int register, boolean userGeneratedClass)
-
-
Method Details
-
match
Description copied from interface:MatcherDetermine whether or not the given BugInstance has the feature this Matcher tests for.- Specified by:
matchin interfaceMatcher- Overrides:
matchin classClassWarningSuppressor- Parameters:
bugInstance- the BugInstance- Returns:
- true if the BugInstance matches, false if not
-
buildUselessSuppressionBugInstance
- Overrides:
buildUselessSuppressionBugInstancein classClassWarningSuppressor
-