public interface EnhancedAnnotated<T,S>
extends javax.enterprise.inject.spi.Annotated
Modifier and Type | Field and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
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
|
javax.enterprise.inject.spi.Annotated |
slim()
Returns a lightweight implementation of
Annotated with minimal memory footprint. |
static final Set<Class<? extends Annotation>> MAPPED_METAANNOTATIONS
static final Set<Class<? extends Annotation>> MAPPED_DECLARED_METAANNOTATIONS
Set<Annotation> getMetaAnnotations(Class<? extends Annotation> metaAnnotationType)
The
- meta annotation to match@Deprecated Set<Annotation> getQualifiers()
@Deprecated Annotation[] getBindingsAsArray()
Set<Type> getInterfaceClosure()
Type[] getActualTypeArguments()
boolean isStatic()
boolean isGeneric()
boolean isFinal()
boolean isPublic()
boolean isPrivate()
boolean isPackagePrivate()
Package getPackage()
String getName()
boolean isParameterizedType()
boolean isPrimitive()
javax.enterprise.inject.spi.Annotated slim()
Annotated
with minimal memory footprint.Annotated
Copyright © 2016. All rights reserved.