Package | Description |
---|---|
com.badlogic.gdx.utils.reflect |
Modifier and Type | Method and Description |
---|---|
Annotation |
Field.getDeclaredAnnotation(java.lang.Class<? extends java.lang.annotation.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(java.lang.Class c,
java.lang.Class<? extends java.lang.annotation.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. |
static Annotation[] |
ClassReflection.getDeclaredAnnotations(java.lang.Class c)
Returns an array of
Annotation objects reflecting all annotations declared by the supplied class,
or an empty array if there are none. |