FindBugs™ 1.3.9

edu.umd.cs.findbugs
Class MethodWarningSuppressor

java.lang.Object
  extended by edu.umd.cs.findbugs.WarningSuppressor
      extended by edu.umd.cs.findbugs.ClassWarningSuppressor
          extended by edu.umd.cs.findbugs.MethodWarningSuppressor
All Implemented Interfaces:
Matcher

public class MethodWarningSuppressor
extends ClassWarningSuppressor


Constructor Summary
MethodWarningSuppressor(java.lang.String bugPattern, ClassAnnotation clazz, MethodAnnotation method)
           
 
Method Summary
 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.ClassWarningSuppressor
getClassAnnotation
 
Methods inherited from class edu.umd.cs.findbugs.WarningSuppressor
writeXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodWarningSuppressor

public MethodWarningSuppressor(java.lang.String bugPattern,
                               ClassAnnotation clazz,
                               MethodAnnotation method)
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.

Specified by:
match in interface Matcher
Overrides:
match in class ClassWarningSuppressor
Parameters:
bugInstance - the BugInstance
Returns:
true if the BugInstance matches, false if not

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.