private class TypeDescriptor.AnnotatedElementAdapter
extends java.lang.Object
implements java.lang.reflect.AnnotatedElement, java.io.Serializable
TypeDescriptor
's annotations as an
AnnotatedElement
, in particular to AnnotatedElementUtils
.Modifier and Type | Field and Description |
---|---|
private java.lang.annotation.Annotation[] |
annotations |
Constructor and Description |
---|
AnnotatedElementAdapter(java.lang.annotation.Annotation[] annotations) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationClass) |
java.lang.annotation.Annotation[] |
getAnnotations() |
java.lang.annotation.Annotation[] |
getDeclaredAnnotations() |
int |
hashCode() |
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass) |
boolean |
isEmpty() |
java.lang.String |
toString() |
@Nullable private final java.lang.annotation.Annotation[] annotations
public AnnotatedElementAdapter(@Nullable java.lang.annotation.Annotation[] annotations)
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
isAnnotationPresent
in interface java.lang.reflect.AnnotatedElement
@Nullable public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
getAnnotation
in interface java.lang.reflect.AnnotatedElement
public java.lang.annotation.Annotation[] getAnnotations()
getAnnotations
in interface java.lang.reflect.AnnotatedElement
public java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface java.lang.reflect.AnnotatedElement
public boolean isEmpty()
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