Class AnnotationModule.AnnotationInfo<A extends java.lang.annotation.Annotation>

  • Type Parameters:
    A - The type of the annotation.
    Enclosing class:
    AnnotationModule

    public static final class AnnotationModule.AnnotationInfo<A extends java.lang.annotation.Annotation>
    extends java.lang.Object
    A helper class for determining information of an annotation above a field.
    • Method Summary

      Modifier and Type Method Description
      A getAnnotation()  
      boolean hasAnnotation()  
      • Methods inherited from class java.lang.Object

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

      • AnnotationInfo

        public AnnotationInfo()
      • AnnotationInfo

        public AnnotationInfo​(boolean hasAnnotation,
                              A annotation)
    • Method Detail

      • hasAnnotation

        public boolean hasAnnotation()
      • getAnnotation

        public A getAnnotation()