javax.enterprise.inject.spi
Interface Annotated

All Known Subinterfaces:
AnnotatedCallable<X>, AnnotatedConstructor<X>, AnnotatedField<X>, AnnotatedMember<X>, AnnotatedMethod<X>, AnnotatedParameter<X>, AnnotatedType<X>
All Known Implementing Classes:
AnnotatedConstructorImpl, AnnotatedElementImpl, AnnotatedFieldImpl, AnnotatedMethodImpl, AnnotatedParameterImpl, AnnotatedTypeImpl, ExtAnnotatedType, ReflectionAnnotated, ReflectionAnnotatedType, ReflectionSimpleAnnotatedType

public interface Annotated

Abstract introspected view of a Bean injectible field


Method Summary
<T extends java.lang.annotation.Annotation>
T
getAnnotation(java.lang.Class<T> annotationType)
          Returns the specified annotation or null if no annotation is declared
 java.util.Set<java.lang.annotation.Annotation> getAnnotations()
          Returns the set of declared annotations.
 java.lang.reflect.Type getBaseType()
          Returns the declared Type
 java.util.Set<java.lang.reflect.Type> getTypeClosure()
          Returns all exposed types
 boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
          Returns the specified annotation or null if no annotation is declared
 

Method Detail

getBaseType

java.lang.reflect.Type getBaseType()
Returns the declared Type


getTypeClosure

java.util.Set<java.lang.reflect.Type> getTypeClosure()
Returns all exposed types


getAnnotation

<T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
Returns the specified annotation or null if no annotation is declared


isAnnotationPresent

boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Returns the specified annotation or null if no annotation is declared


getAnnotations

java.util.Set<java.lang.annotation.Annotation> getAnnotations()
Returns the set of declared annotations.