public class MethodMatcher extends MemberMatcher implements Matcher
name, role, signature
Constructor and Description |
---|
MethodMatcher(java.lang.String name) |
MethodMatcher(java.lang.String name,
java.lang.String role) |
MethodMatcher(java.lang.String name,
java.lang.String params,
java.lang.String returns) |
MethodMatcher(java.lang.String name,
java.lang.String params,
java.lang.String returns,
java.lang.String role) |
Modifier and Type | Method and Description |
---|---|
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) |
equals, hashCode
public MethodMatcher(java.lang.String name)
public MethodMatcher(java.lang.String name, java.lang.String role)
public MethodMatcher(java.lang.String name, java.lang.String params, java.lang.String returns)
public MethodMatcher(java.lang.String name, java.lang.String params, java.lang.String returns, java.lang.String role)
public boolean match(BugInstance bugInstance)
Matcher
public java.lang.String toString()
toString
in class MemberMatcher
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.