edu.umd.cs.findbugs.filter
Class BugCodeMatcher

java.lang.Object
  extended by edu.umd.cs.findbugs.filter.BugCodeMatcher
All Implemented Interfaces:
Matcher

public class BugCodeMatcher
extends java.lang.Object
implements Matcher

Match BugInstances having one of a particular set of abbreviations.

Author:
David Hovemeyer

Constructor Summary
BugCodeMatcher(java.lang.String bugCodeNames)
          Constructor.
 
Method Summary
 boolean match(BugInstance bugInstance)
          Determine whether or not the given BugInstance has the feature this Matcher tests for.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BugCodeMatcher

public BugCodeMatcher(java.lang.String bugCodeNames)
Constructor.

Parameters:
bugCodeNames - comma-separated list of abbreviations
Method Detail

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