Interface TAnnotatedElement

All Known Subinterfaces:
TGenericDeclaration, TTypeVariable<D>
All Known Implementing Classes:
TAccessibleObject, TClass, TConstructor, TExecutable, TField, TMethod, TTypeVariableImpl

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)