Class CompoundMatcher

  • All Implemented Interfaces:
    Matcher, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Matcher>, java.util.Collection<Matcher>, java.util.Set<Matcher>

    @Deprecated
    public class CompoundMatcher
    extends java.util.HashSet<Matcher>
    implements Matcher
    Deprecated.
    Holds a bunch of matchers, and only matches a bug if all the submatchers match it. Matchetymatch.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CompoundMatcher()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean match​(BugInstance bugInstance)
      Deprecated.
      Determine whether or not the given BugInstance has the feature this Matcher tests for.
      void writeXML​(XMLOutput xmlOutput, boolean disabled)
      Deprecated.
       
      • Methods inherited from class java.util.HashSet

        add, clear, clone, contains, isEmpty, iterator, remove, size, spliterator
      • Methods inherited from class java.util.AbstractSet

        equals, hashCode, removeAll
      • Methods inherited from class java.util.AbstractCollection

        addAll, containsAll, retainAll, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.Set

        addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
    • Constructor Detail

      • CompoundMatcher

        public CompoundMatcher()
        Deprecated.
    • Method Detail

      • match

        public boolean match​(BugInstance bugInstance)
        Deprecated.
        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:
        bugInstance - the BugInstance
        Returns:
        true if the BugInstance matches, false if not
      • writeXML

        public void writeXML​(XMLOutput xmlOutput,
                             boolean disabled)
                      throws java.io.IOException
        Deprecated.
        Specified by:
        writeXML in interface Matcher
        Throws:
        java.io.IOException