private static class Matchers.AnnotatedWith extends AbstractMatcher<java.lang.reflect.AnnotatedElement> implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private java.lang.annotation.Annotation |
annotation |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
AnnotatedWith(java.lang.annotation.Annotation annotation) |
| 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.annotation.Annotation annotation
private static final long serialVersionUID
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