public class MethodNameMatcher
extends org.hamcrest.TypeSafeMatcher<java.lang.reflect.Method>
Modifier and Type | Field and Description |
---|---|
(package private) java.util.regex.Pattern |
namePattern |
Constructor and Description |
---|
MethodNameMatcher(java.lang.String nameRegex) |
Modifier and Type | Method and Description |
---|---|
protected void |
describeMismatchSafely(java.lang.reflect.Method item,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
boolean |
matchesSafely(java.lang.reflect.Method method) |
public boolean matchesSafely(java.lang.reflect.Method method)
matchesSafely
in class org.hamcrest.TypeSafeMatcher<java.lang.reflect.Method>
protected void describeMismatchSafely(java.lang.reflect.Method item, org.hamcrest.Description mismatchDescription)
describeMismatchSafely
in class org.hamcrest.TypeSafeMatcher<java.lang.reflect.Method>
public void describeTo(org.hamcrest.Description description)