|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WeldAnnotated<T,S>
AnnotatedItem provides a uniform access to the annotations on an annotated item defined either in Java or XML
| Field Summary | |
|---|---|
static java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> |
MAPPED_METAANNOTATIONS
|
| Method Summary | |
|---|---|
java.lang.reflect.Type[] |
getActualTypeArguments()
Gets the actual type arguments for any parameterized types that this AnnotatedItem represents. |
java.lang.annotation.Annotation[] |
getBindingsAsArray()
Deprecated. This reflection type should not know about JSR-299 binding types |
java.util.Set<java.lang.annotation.Annotation> |
getDeclaredMetaAnnotations(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
Gets all annotations which are declared on this annotated item with the given meta annotation type |
java.util.Set<java.lang.reflect.Type> |
getInterfaceOnlyFlattenedTypeHierarchy()
Get the type hierarchy of any interfaces implemented by this class. |
java.lang.Class<T> |
getJavaClass()
Gets the type of the element |
java.util.Set<java.lang.annotation.Annotation> |
getMetaAnnotations(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
Gets all annotations which are annotated with the given meta annotation type |
java.lang.annotation.Annotation[] |
getMetaAnnotationsAsArray(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
Gets all annotations which are annotated with the given meta annotation type |
java.lang.String |
getName()
Gets the name of this AnnotatedItem If it is not possible to determine the name of the underling element, a IllegalArgumentException is thrown |
java.lang.Package |
getPackage()
|
java.util.Set<java.lang.annotation.Annotation> |
getQualifiers()
Deprecated. This reflection type should not know about JSR-299 binding types |
boolean |
isDeclaredAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Indicates if an annotation type specified is present |
boolean |
isFinal()
Indicates if this AnnotatedItem represents a final element |
boolean |
isPackagePrivate()
|
boolean |
isParameterizedType()
|
boolean |
isPrivate()
|
boolean |
isProxyable()
Indicates if this AnnotatedItem can be proxyed |
boolean |
isPublic()
Indicates if this annotated item is public |
boolean |
isStatic()
Indicates if this AnnotatedItem represents a static element |
| Methods inherited from interface javax.enterprise.inject.spi.Annotated |
|---|
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent |
| Field Detail |
|---|
static final java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> MAPPED_METAANNOTATIONS
| Method Detail |
|---|
java.util.Set<java.lang.annotation.Annotation> getMetaAnnotations(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
The - meta annotation to match
java.util.Set<java.lang.annotation.Annotation> getDeclaredMetaAnnotations(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
The - meta annotation to match
java.lang.annotation.Annotation[] getMetaAnnotationsAsArray(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
The - meta annotation to match
@Deprecated java.util.Set<java.lang.annotation.Annotation> getQualifiers()
@Deprecated java.lang.annotation.Annotation[] getBindingsAsArray()
java.util.Set<java.lang.reflect.Type> getInterfaceOnlyFlattenedTypeHierarchy()
boolean isDeclaredAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - The annotation to match
java.lang.Class<T> getJavaClass()
java.lang.reflect.Type[] getActualTypeArguments()
boolean isStatic()
boolean isFinal()
boolean isProxyable()
boolean isPublic()
boolean isPrivate()
boolean isPackagePrivate()
java.lang.Package getPackage()
java.lang.String getName()
boolean isParameterizedType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||