Interface TAnnotatedElement

All Known Implementing Classes:
TAccessibleObject, TClass, TConstructor, TField, TMethod

public interface TAnnotatedElement
  • Method Details

    • isAnnotationPresent

      default boolean isAnnotationPresent(TClass<? extends TAnnotation> annotationClass)
    • getAnnotation

      <T extends TAnnotation> T getAnnotation(TClass<T> annotationClass)
    • getAnnotations

      TAnnotation[] getAnnotations()
    • getDeclaredAnnotations

      TAnnotation[] getDeclaredAnnotations()
    • getAnnotationsByType

      default <T extends TAnnotation> T[] getAnnotationsByType(Class<T> annotationClass)
    • getDeclaredAnnotation

      default <T extends TAnnotation> T getDeclaredAnnotation(TClass<T> annotationClass)
    • getDeclaredAnnotationsByType

      default <T extends TAnnotation> T[] getDeclaredAnnotationsByType(Class<T> annotationClass)