X - declaring typepublic interface AnnotatedField<X> extends AnnotatedMember<X>
| Modifier and Type | Method and Description |
|---|---|
default <T extends Annotation> |
getAnnotations(Class<T> annotationType)
Gets annotated element's annotation member if exist, null otherwise
|
Field |
getJavaMember()
Returns base java member.
|
getDeclaringType, isStaticgetAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresentField getJavaMember()
getJavaMember in interface AnnotatedMember<X>default <T extends Annotation> Set<T> getAnnotations(Class<T> annotationType)
AnnotatedgetAnnotations in interface AnnotatedT - generic annotatation class typeannotationType - class of the annotationCopyright © 2021. All rights reserved.