Class AnnotationModule.AnnotationInfo<A extends Annotation>

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

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

      • AnnotationInfo

        public AnnotationInfo()
      • AnnotationInfo

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

      • hasAnnotation

        public boolean hasAnnotation()
      • getAnnotation

        public A getAnnotation()