edu.umd.cs.findbugs
Class SuppressionMatcher

java.lang.Object
  extended by edu.umd.cs.findbugs.SuppressionMatcher
All Implemented Interfaces:
Matcher

public class SuppressionMatcher
extends java.lang.Object
implements Matcher


Constructor Summary
SuppressionMatcher()
           
 
Method Summary
 void addPackageSuppressor(PackageWarningSuppressor suppressor)
           
 void addSuppressor(ClassWarningSuppressor suppressor)
           
 int count()
           
 boolean match(BugInstance b)
          Determine whether or not the given BugInstance has the feature this Matcher tests for.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuppressionMatcher

public SuppressionMatcher()
Method Detail

addPackageSuppressor

public void addPackageSuppressor(PackageWarningSuppressor suppressor)

addSuppressor

public void addSuppressor(ClassWarningSuppressor suppressor)

count

public int count()

match

public boolean match(BugInstance b)
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
Parameters:
b - the BugInstance
Returns:
true if the BugInstance matches, false if not