public interface EnhancedAnnotated<T,S> extends Annotated
| Modifier and Type | Field and Description |
|---|---|
static java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> |
MAPPED_DECLARED_METAANNOTATIONS
The set of declared meta-annotations to map
|
static java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> |
MAPPED_METAANNOTATIONS
The set of meta-annotations to map
|
| Modifier and Type | Method and Description |
|---|---|
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.reflect.Type> |
getInterfaceClosure()
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.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 |
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
|
Annotated |
slim()
Returns a lightweight implementation of
Annotated with minimal memory footprint. |
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresentstatic final java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> MAPPED_METAANNOTATIONS
static final java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> MAPPED_DECLARED_METAANNOTATIONS
java.util.Set<java.lang.annotation.Annotation> getMetaAnnotations(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> getInterfaceClosure()
java.lang.Class<T> getJavaClass()
java.lang.reflect.Type[] getActualTypeArguments()
boolean isStatic()
boolean isGeneric()
boolean isFinal()
boolean isPublic()
boolean isPrivate()
boolean isPackagePrivate()
java.lang.Package getPackage()
java.lang.String getName()
boolean isParameterizedType()
boolean isPrimitive()
Copyright © 2014. All Rights Reserved.