public interface Annotatable
Modifier and Type | Method and Description |
---|---|
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationType)
Returns the annotation on the model element of the given type, or @code{null}
|
java.lang.annotation.Annotation[] |
getAnnotations()
Returns the model elements' annotations.
|
java.lang.annotation.Annotation[] getAnnotations()
<T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)