Class SuppressionMatcher

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

    @Deprecated
    public class SuppressionMatcher
    extends java.util.ArrayList<BugInstance>
    implements Matcher
    Deprecated.
    A list of all bugs to filter out, only we call it suppressing them
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Constructor Summary

      Constructors 
      Constructor Description
      SuppressionMatcher()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean add​(BugInstance bugInstance)
      Deprecated.
       
      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.ArrayList

        add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractCollection

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

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

        parallelStream, stream, toArray
      • Methods inherited from interface java.util.List

        containsAll
    • Constructor Detail

      • SuppressionMatcher

        public SuppressionMatcher()
        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
      • add

        public boolean add​(BugInstance bugInstance)
        Deprecated.
        Specified by:
        add in interface java.util.Collection<BugInstance>
        Specified by:
        add in interface java.util.List<BugInstance>
        Overrides:
        add in class java.util.ArrayList<BugInstance>
      • writeXML

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