private static class Matchers.Returns extends AbstractMatcher<java.lang.reflect.Method> implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private Matcher<? super java.lang.Class<?>> |
returnType |
private static long |
serialVersionUID |
Constructor and Description |
---|
Returns(Matcher<? super java.lang.Class<?>> returnType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
boolean |
matches(java.lang.reflect.Method m)
Returns
true if this matches t , false otherwise. |
java.lang.String |
toString() |
and, or
private final Matcher<? super java.lang.Class<?>> returnType
private static final long serialVersionUID
public Returns(Matcher<? super java.lang.Class<?>> returnType)
public boolean matches(java.lang.reflect.Method m)
Matcher
true
if this matches t
, false
otherwise.public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object