| Package | Description |
|---|---|
| com.almasb.fxgl.core.reflect |
| Modifier and Type | Method and Description |
|---|---|
static Annotation |
ClassReflection.getAnnotation(Class c,
Class<? extends Annotation> annotationType)
Returns an
Annotation object reflecting the annotation provided, or null if this class doesn't have such an
annotation. |
static Annotation[] |
ClassReflection.getAnnotations(Class c)
Returns an array of
Annotation objects reflecting all annotations declared by the supplied class, and inherited
from its superclass. |
Annotation |
Method.getDeclaredAnnotation(Class<? extends Annotation> annotationType)
Returns an
Annotation object reflecting the annotation provided, or null of this method doesn't
have such an annotation. |
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. |
static Annotation |
ClassReflection.getDeclaredAnnotation(Class c,
Class<? extends Annotation> annotationType)
Returns an
Annotation object reflecting the annotation provided, or null if this class doesn't have such an
annotation. |
Annotation[] |
Method.getDeclaredAnnotations()
Returns an array of
Annotation objects reflecting all annotations declared by this method,
or an empty array if there are none. |
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(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 © 2017. All rights reserved.