|
||||||||||
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 Set<Class<? extends Annotation>> |
MAPPED_DECLARED_METAANNOTATIONS
The set of declared meta-annotations to map |
static Set<Class<? extends Annotation>> |
MAPPED_METAANNOTATIONS
The set of meta-annotations to map |
Method Summary | |
---|---|
Type[] |
getActualTypeArguments()
Gets the actual type arguments for any parameterized types that this AnnotatedItem represents. |
Annotation[] |
getBindingsAsArray()
Deprecated. This reflection type should not know about JSR-299 binding types |
Set<Type> |
getInterfaceClosure()
Get the type hierarchy of any interfaces implemented by this class. |
Class<T> |
getJavaClass()
Gets the type of the element |
Set<Annotation> |
getMetaAnnotations(Class<? extends Annotation> metaAnnotationType)
Gets all annotations which are annotated with the given meta annotation type |
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 |
Package |
getPackage()
|
Set<Annotation> |
getQualifiers()
Deprecated. This reflection type should not know about JSR-299 binding types |
boolean |
isFinal()
Indicates if this AnnotatedItem represents a final element |
boolean |
isGeneric()
|
boolean |
isPackagePrivate()
|
boolean |
isParameterizedType()
|
boolean |
isPrimitive()
|
boolean |
isPrivate()
|
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 Set<Class<? extends Annotation>> MAPPED_METAANNOTATIONS
static final Set<Class<? extends Annotation>> MAPPED_DECLARED_METAANNOTATIONS
Method Detail |
---|
Set<Annotation> getMetaAnnotations(Class<? extends Annotation> metaAnnotationType)
The
- meta annotation to match
@Deprecated Set<Annotation> getQualifiers()
@Deprecated Annotation[] getBindingsAsArray()
Set<Type> getInterfaceClosure()
Class<T> getJavaClass()
Type[] getActualTypeArguments()
boolean isStatic()
boolean isGeneric()
boolean isFinal()
boolean isPublic()
boolean isPrivate()
boolean isPackagePrivate()
Package getPackage()
String getName()
boolean isParameterizedType()
boolean isPrimitive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |