Interface Matcher

All Known Implementing Classes:
AndMatcher, BugMatcher, ClassMatcher, ClassWarningSuppressor, CompoundMatcher, ConfidenceMatcher, FieldMatcher, FieldWarningSuppressor, Filter, FirstVersionMatcher, LastVersionMatcher, LocalMatcher, MethodMatcher, MethodWarningSuppressor, NotMatcher, OrMatcher, PackageWarningSuppressor, ParameterWarningSuppressor, PriorityMatcher, RankMatcher, SourceMatcher, SuppressionMatcher, TypeMatcher, WarningSuppressor

public interface Matcher
Match BugInstances for some feature.
Author:
David Hovemeyer
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    match(BugInstance bugInstance)
    Determine whether or not the given BugInstance has the feature this Matcher tests for.
    void
    writeXML(XMLOutput xmlOutput, boolean disabled)
     
  • Method Details

    • match

      boolean match(BugInstance bugInstance)
      Determine whether or not the given BugInstance has the feature this Matcher tests for.
      Parameters:
      bugInstance - the BugInstance
      Returns:
      true if the BugInstance matches, false if not
    • writeXML

      void writeXML(XMLOutput xmlOutput, boolean disabled) throws IOException
      Throws:
      IOException