Package | Description |
---|---|
com.artemis.utils.reflect |
Modifier and Type | Method and Description |
---|---|
Annotation |
Field.getDeclaredAnnotation(Class<? extends Annotation> annotationType)
Returns an
Annotation object reflecting the annotation provided, or null of this field doesn't
have such an annotation. |
Annotation |
Method.getDeclaredAnnotation(Class<? extends Annotation> annotationType)
Returns an
Annotation object reflecting the annotation provided, or null of this field doesn't
have such an annotation. |
static Annotation |
ClassReflection.getDeclaredAnnotation(Class c,
Class<? extends Annotation> annotationType)
Returns an
Annotation object reflecting the annotation provided, or null of this field doesn't
have such an annotation. |
Annotation[] |
Field.getDeclaredAnnotations()
Returns an array of
Annotation objects reflecting all annotations declared by this field,
or an empty array if there are none. |
Annotation[] |
Method.getDeclaredAnnotations()
Returns an array of
Annotation objects reflecting all annotations declared by this field,
or an empty array if there are none. |
static Annotation[] |
ClassReflection.getDeclaredAnnotations(Class c)
Returns an array of
Annotation objects reflecting all annotations declared by the supplied class,
or an empty array if there are none. |
Copyright © 2019. All rights reserved.