edu.umd.cs.findbugs.filter
Class MethodMatcher

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

public class MethodMatcher
extends java.lang.Object
implements Matcher


Constructor Summary
MethodMatcher(java.lang.String name)
           
MethodMatcher(java.lang.String name, java.lang.String params, java.lang.String returns)
           
 
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

MethodMatcher

public MethodMatcher(java.lang.String name)

MethodMatcher

public MethodMatcher(java.lang.String name,
                     java.lang.String params,
                     java.lang.String returns)
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