Interface TAnnotatedElement
- All Known Implementing Classes:
TAccessibleObject
,TClass
,TConstructor
,TField
,TMethod
public interface TAnnotatedElement
-
Method Summary
Modifier and TypeMethodDescription<T extends TAnnotation>
TgetAnnotation
(TClass<T> annotationClass) default <T extends TAnnotation>
T[]getAnnotationsByType
(Class<T> annotationClass) default <T extends TAnnotation>
TgetDeclaredAnnotation
(TClass<T> annotationClass) default <T extends TAnnotation>
T[]getDeclaredAnnotationsByType
(Class<T> annotationClass) default boolean
isAnnotationPresent
(TClass<? extends TAnnotation> annotationClass)
-
Method Details
-
isAnnotationPresent
-
getAnnotation
-
getAnnotations
TAnnotation[] getAnnotations() -
getDeclaredAnnotations
TAnnotation[] getDeclaredAnnotations() -
getAnnotationsByType
-
getDeclaredAnnotation
-
getDeclaredAnnotationsByType
-