Package edu.umd.cs.findbugs
Class ClassWarningSuppressor
- java.lang.Object
-
- edu.umd.cs.findbugs.WarningSuppressor
-
- edu.umd.cs.findbugs.ClassWarningSuppressor
-
- All Implemented Interfaces:
Matcher
- Direct Known Subclasses:
FieldWarningSuppressor,MethodWarningSuppressor,ParameterWarningSuppressor
public class ClassWarningSuppressor extends WarningSuppressor
-
-
Constructor Summary
Constructors Constructor Description ClassWarningSuppressor(java.lang.String bugPattern, ClassAnnotation clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassAnnotationgetClassAnnotation()booleanmatch(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
-
-
-
-
Constructor Detail
-
ClassWarningSuppressor
public ClassWarningSuppressor(java.lang.String bugPattern, ClassAnnotation clazz)
-
-
Method Detail
-
getClassAnnotation
public ClassAnnotation getClassAnnotation()
-
match
public boolean match(BugInstance bugInstance)
Description copied from interface:MatcherDetermine whether or not the given BugInstance has the feature this Matcher tests for.- Specified by:
matchin interfaceMatcher- Overrides:
matchin classWarningSuppressor- Parameters:
bugInstance- the BugInstance- Returns:
- true if the BugInstance matches, false if not
-
-