Class SuppressionMatcher

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

public class SuppressionMatcher extends Object implements Matcher
  • Constructor Details

    • SuppressionMatcher

      public SuppressionMatcher()
  • Method Details

    • 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
    • writeXML

      public void writeXML(XMLOutput xmlOutput, boolean disabled) throws IOException
      Specified by:
      writeXML in interface Matcher
      Throws:
      IOException