org.jboss.weld.annotated.enhanced.jlr

Class AbstractEnhancedAnnotated<T,S>

  • java.lang.Object
    • org.jboss.weld.annotated.enhanced.jlr.AbstractEnhancedAnnotated<T,S>
    • Constructor Detail

      • AbstractEnhancedAnnotated

        public AbstractEnhancedAnnotated(Annotated annotated,                                 Map<Class<? extends Annotation>,Annotation> annotationMap,                                 Map<Class<? extends Annotation>,Annotation> declaredAnnotationMap,                                 ClassTransformer classTransformer)
        Constructor

        Also builds the meta-annotation map. Throws a NullPointerException if trying to register a null map

        Parameters:
        annotationMap - A map of annotation to register
    • Method Detail

      • buildAnnotationMap

        protected static Map<Class<? extends Annotation>,Annotation> buildAnnotationMap(Annotation[] annotations)
        Builds the annotation map (annotation type -> annotation)
        Parameters:
        annotations - The array of annotations to map
        Returns:
        The annotation map
      • buildAnnotationMap

        protected static Map<Class<? extends Annotation>,Annotation> buildAnnotationMap(Iterable<Annotation> annotations)
        Builds the annotation map (annotation type -> annotation)
        Parameters:
        annotations - The array of annotations to map
        Returns:
        The annotation map
      • getActualTypeArguments

        public Type[] getActualTypeArguments()
        Description copied from interface: EnhancedAnnotated
        Gets the actual type arguments for any parameterized types that this AnnotatedItem represents.
        Specified by:
        getActualTypeArguments in interface EnhancedAnnotated<T,S>
        Returns:
        An array of type arguments
      • getInterfaceClosure

        public Set<Type> getInterfaceClosure()
        Description copied from interface: EnhancedAnnotated
        Get the type hierarchy of any interfaces implemented by this class.

        The returned types should have any type parameters resolved to their actual types.

        There is no guarantee this methods executes in O(1) time

        Specified by:
        getInterfaceClosure in interface EnhancedAnnotated<T,S>
        Returns:
        the type hierarchy
      • getDelegate

        public abstract S getDelegate()
      • getBaseType

        public Type getBaseType()
        Description copied from interface: Annotated

        Get the type of the annotated program element.

        Specified by:
        getBaseType in interface Annotated
        Returns:
        the type of the annotated program element
      • getTypeClosure

        public Set<Type> getTypeClosure()
        Description copied from interface: Annotated

        Get all types to which the base type should be considered assignable.

        Specified by:
        getTypeClosure in interface Annotated
        Returns:
        a set of all types to which the base type should be considered assignable
      • getAnnotations

        public Set<Annotation> getAnnotations()
        Description copied from interface: Annotated

        Get all annotations of the program element.

        Specified by:
        getAnnotations in interface Annotated
        Returns:
        all annotations of the program element, or an empty set if no annotations are present
      • getAnnotation

        public <A extends Annotation> A getAnnotation(Class<A> annotationType)
        Description copied from interface: Annotated

        Get program element annotation of a certain annotation type.

        Specified by:
        getAnnotation in interface Annotated
        Type Parameters:
        A - the type of the annotation
        Parameters:
        annotationType - the class of the annotation type
        Returns:
        the program element annotation of the given annotation type, or a null value
      • isAnnotationPresent

        public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
        Description copied from interface: Annotated

        Determine if the program element has an annotation of a certain annotation type.

        Specified by:
        isAnnotationPresent in interface Annotated
        Parameters:
        annotationType - the annotation type to check for
        Returns:
        true if the program element has an annotation of the given annotation type, or false otherwise

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