Class Annotated.ClassAdapter

  • All Implemented Interfaces:
    Annotated
    Enclosing interface:
    Annotated

    public static class Annotated.ClassAdapter
    extends java.lang.Object
    implements Annotated
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassAdapter​(java.lang.Class<?> cls)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <A extends java.lang.annotation.Annotation>
      A
      getTypedAnnotation​(java.lang.Class<A> annotationClass)  
      boolean hasAnnotation​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClassAdapter

        public ClassAdapter​(java.lang.Class<?> cls)
    • Method Detail

      • hasAnnotation

        public boolean hasAnnotation​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
        Specified by:
        hasAnnotation in interface Annotated
      • getTypedAnnotation

        public <A extends java.lang.annotation.Annotation> A getTypedAnnotation​(java.lang.Class<A> annotationClass)
        Specified by:
        getTypedAnnotation in interface Annotated