public interface Annotated
Modifier and Type | Method and Description |
---|---|
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationType)
Returns the specified annotation or null if no annotation is declared
|
java.util.Set<java.lang.annotation.Annotation> |
getAnnotations()
Returns the set of declared annotations.
|
java.lang.reflect.Type |
getBaseType()
Returns the declared Type
|
java.util.Set<java.lang.reflect.Type> |
getTypeClosure()
Returns all exposed types
|
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Returns the specified annotation or null if no annotation is declared
|
java.lang.reflect.Type getBaseType()
java.util.Set<java.lang.reflect.Type> getTypeClosure()
<T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
java.util.Set<java.lang.annotation.Annotation> getAnnotations()