org.jboss.weld.metadata.cache

Class AnnotationModel<T extends Annotation>

    • Field Detail

      • valid

        protected boolean valid
    • Constructor Detail

      • AnnotationModel

        public AnnotationModel(EnhancedAnnotation<T> enhancedAnnotatedAnnotation)
        Constructor
        Parameters:
        type - The annotation type
    • Method Detail

      • init

        protected void init(EnhancedAnnotation<T> annotatedAnnotation)
        Initializes the type and validates it
      • initType

        protected void initType(EnhancedAnnotation<T> annotatedAnnotation)
        Initializes the type
      • initValid

        protected void initValid(EnhancedAnnotation<T> annotatedAnnotation)
        Validates the data for correct annotation
      • getRawType

        public Class<T> getRawType()
        Gets the type of the annotation
        Returns:
        The type
      • getMetaAnnotationTypes

        protected abstract Set<Class<? extends Annotation>> getMetaAnnotationTypes()
        Gets the meta-annotation that should be present
        Returns:
      • isValid

        public boolean isValid()
        Indicates if the annotation is valid
        Returns:
        True if valid, false otherwise
      • getAnnotatedAnnotation

        public AnnotatedType<T> getAnnotatedAnnotation()
        Gets the annotated annotation
        Returns:
        The annotation
      • toString

        public String toString()
        Gets a string representation of the annotation model
        Overrides:
        toString in class Object
        Returns:
        The string representation

Copyright © 2015. All Rights Reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14