Class AnnotationLiteral<T extends Annotation>

    • Constructor Detail

      • AnnotationLiteral

        protected AnnotationLiteral()
    • Method Detail

      • annotationType

        public Class<? extends Annotation> annotationType()
        Method returns the type of the annotation literal. The value is resolved lazily during the first call of this method.
        Specified by:
        annotationType in interface Annotation
        Returns:
        annotation type of this literal.