org.jboss.weld.annotated.enhanced

Interface EnhancedAnnotatedType<T>

    • Method Detail

      • getDeclaredEnhancedField

        <F> EnhancedAnnotatedField<F,?> getDeclaredEnhancedField(String fieldName)
        Get a field by name
        Type Parameters:
        F - the expected type of the field
        Parameters:
        fieldName - the field name
        Returns:
        the field
      • getEnhancedFields

        Collection<EnhancedAnnotatedField<?,?>> getEnhancedFields(Class<? extends Annotation> annotationType)
        Gets all fields which are annotated with the given annotation type on this class and all super classes
        Parameters:
        annotationType - The annotation to match
        Returns:
        A set of abstracted fields with the given annotation. Returns an empty set if there are no matches
      • getDeclaredEnhancedFields

        Collection<EnhancedAnnotatedField<?,? super T>> getDeclaredEnhancedFields()
        Gets all fields declared on this class only.
        Returns:
        A set of abstracted fields. Returns an empty set if there are no matches
      • getDeclaredEnhancedFields

        Collection<EnhancedAnnotatedField<?,? super T>> getDeclaredEnhancedFields(Class<? extends Annotation> annotationType)
        Gets all fields which are annotated with the given annotation type on this class only.
        Parameters:
        annotationType - The annotation to match
        Returns:
        A set of abstracted fields with the given annotation. Returns an empty set if there are no matches
      • getEnhancedConstructors

        Collection<EnhancedAnnotatedConstructor<T>> getEnhancedConstructors(Class<? extends Annotation> annotationType)
        Gets all constructors which are annotated with annotationType
        Parameters:
        annotationType - The annotation type to match
        Returns:
        A set of abstracted fields with the given annotation. Returns an empty set if there are no matches
      • getNoArgsEnhancedConstructor

        EnhancedAnnotatedConstructor<T> getNoArgsEnhancedConstructor()
        Gets the no-args constructor
        Returns:
        The no-args constructor, or null if not defined
      • getDeclaredEnhancedConstructor

        EnhancedAnnotatedConstructor<T> getDeclaredEnhancedConstructor(ConstructorSignature signature)
        Get the constructor which matches the argument list provided
        Parameters:
        parameterTypes - the parameters of the constructor
        Returns:
        the matching constructor, or null if not defined
      • getEnhancedMethods

        Collection<EnhancedAnnotatedMethod<?,? super T>> getEnhancedMethods(Class<? extends Annotation> annotationType)
        Gets all methods annotated with annotationType including those declared on a superclass of EnhancedAnnotated.getJavaClass(). Overridden methods are not returned.
        Parameters:
        annotationType - The annotation to match
        Returns:
        A set of abstracted methods with the given annotation. Returns an empty set if there are no matches
      • getDeclaredEnhancedMethods

        Collection<EnhancedAnnotatedMethod<?,? super T>> getDeclaredEnhancedMethods(Class<? extends Annotation> annotationType)
        Gets all methods annotated with annotationType
        Parameters:
        annotationType - The annotation to match
        Returns:
        A set of abstracted methods with the given annotation. Returns an empty set if there are no matches
      • getDeclaredEnhancedMethod

        <M> EnhancedAnnotatedMethod<M,?> getDeclaredEnhancedMethod(MethodSignature signature)
        Get a method by name
        Type Parameters:
        M - the expected return type
        Parameters:
        signature - the name of the method
        Returns:
        the method, or null if it doesn't exist
      • getEnhancedMethod

        <M> EnhancedAnnotatedMethod<M,?> getEnhancedMethod(MethodSignature signature)
        Get a method by name
        Type Parameters:
        M - the expected return type
        Parameters:
        signature - the name of the method
        Returns:
        the method, or null if it doesn't exist
      • getDeclaredEnhancedMethodsWithAnnotatedParameters

        Collection<EnhancedAnnotatedMethod<?,? super T>> getDeclaredEnhancedMethodsWithAnnotatedParameters(Class<? extends Annotation> annotationType)
        Gets declared with parameters annotated with annotationType
        Parameters:
        annotationType - The annotation to match
        Returns:
        A set of abstracted methods with the given annotation. Returns an empty set if there are no matches
      • getEnhancedMethodsWithAnnotatedParameters

        Collection<EnhancedAnnotatedMethod<?,? super T>> getEnhancedMethodsWithAnnotatedParameters(Class<? extends Annotation> annotationType)
        Gets all methods with parameters annotated with annotationType including those declared on a superclass of EnhancedAnnotated.getJavaClass(). Overridden methods are not returned.
        Parameters:
        annotationType - The annotation to match
        Returns:
        A set of abstracted methods with the given annotation. Returns an empty set if there are no matches
      • getEnhancedSuperclass

        EnhancedAnnotatedType<? super T> getEnhancedSuperclass()
        Gets the superclass.
        Returns:
        The abstracted superclass, null if there is no superclass
      • isAbstract

        boolean isAbstract()
      • isEnum

        boolean isEnum()
      • isMemberClass

        boolean isMemberClass()
      • isLocalClass

        boolean isLocalClass()
      • isAnonymousClass

        boolean isAnonymousClass()
      • isSerializable

        boolean isSerializable()
      • isDiscovered

        boolean isDiscovered()
      • cast

        <S> S cast(Object object)
      • isEquivalent

        boolean isEquivalent(Class<?> clazz)
        Check if this is equivalent to a java class
        Parameters:
        clazz - The Java class
        Returns:
        true if equivalent
      • getSimpleName

        String getSimpleName()
      • getDeclaredMetaAnnotations

        Collection<Annotation> getDeclaredMetaAnnotations(Class<? extends Annotation> metaAnnotationType)
        Gets all annotations which are declared on this annotated item with the given meta annotation type
        Parameters:
        The - meta annotation to match
        Returns:
        A set of matching meta-annotations. Returns an empty set if there are no matches.

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