Class LastVersionMatcher

java.lang.Object
edu.umd.cs.findbugs.filter.VersionMatcher
edu.umd.cs.findbugs.filter.LastVersionMatcher
All Implemented Interfaces:
Matcher

public class LastVersionMatcher extends VersionMatcher implements Matcher
Matcher to select BugInstances with a particular last version.
  • Field Details

  • Constructor Details

    • LastVersionMatcher

      public LastVersionMatcher(String versionAsString, String relOpAsString)
    • LastVersionMatcher

      public LastVersionMatcher(String versionAsString, RelationalOp relOp)
    • LastVersionMatcher

      public LastVersionMatcher(long version, RelationalOp relOp)
  • Method Details

    • match

      public boolean match(BugInstance bugInstance)
      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 IOException
      Specified by:
      writeXML in interface Matcher
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object