private static class Matchers.AnnotatedWithType extends AbstractMatcher<java.lang.reflect.AnnotatedElement> implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Class<? extends java.lang.annotation.Annotation> |
annotationType |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
AnnotatedWithType(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
boolean |
matches(java.lang.reflect.AnnotatedElement element)
Returns
true if this matches t, false otherwise. |
java.lang.String |
toString() |
and, orprivate final java.lang.Class<? extends java.lang.annotation.Annotation> annotationType
private static final long serialVersionUID
public AnnotatedWithType(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
public boolean matches(java.lang.reflect.AnnotatedElement element)
Matchertrue if this matches t, false otherwise.public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object