FindBugs™ 1.3.9

edu.umd.cs.findbugs.filter
Class MethodMatcher

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

public class MethodMatcher
extends MemberMatcher
implements Matcher


Field Summary
 
Fields inherited from class edu.umd.cs.findbugs.filter.MemberMatcher
name, signature
 
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.
 java.lang.String toString()
           
 void writeXML(XMLOutput xmlOutput, boolean disabled)
           
 
Methods inherited from class edu.umd.cs.findbugs.filter.MemberMatcher
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, 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

toString

public java.lang.String toString()
Overrides:
toString in class MemberMatcher

writeXML

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

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.