T
- S
- public abstract class ForwardingWeldAnnotated<T,S> extends ForwardingAnnotated implements EnhancedAnnotated<T,S>
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS
Constructor and Description |
---|
ForwardingWeldAnnotated() |
Modifier and Type | Method and Description |
---|---|
protected abstract EnhancedAnnotated<T,S> |
delegate() |
Type[] |
getActualTypeArguments()
Gets the actual type arguments for any parameterized types that this
AnnotatedItem represents.
|
Annotation[] |
getBindingsAsArray()
Deprecated.
|
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.
|
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. |
equals, getAnnotation, getAnnotations, getBaseType, getTypeClosure, hashCode, isAnnotationPresent, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
public Type[] getActualTypeArguments()
EnhancedAnnotated
getActualTypeArguments
in interface EnhancedAnnotated<T,S>
public Set<Annotation> getMetaAnnotations(Class<? extends Annotation> metaAnnotationType)
EnhancedAnnotated
getMetaAnnotations
in interface EnhancedAnnotated<T,S>
@Deprecated public Set<Annotation> getQualifiers()
EnhancedAnnotated
getQualifiers
in interface EnhancedAnnotated<T,S>
@Deprecated public Annotation[] getBindingsAsArray()
EnhancedAnnotated
getBindingsAsArray
in interface EnhancedAnnotated<T,S>
public String getName()
EnhancedAnnotated
getName
in interface EnhancedAnnotated<T,S>
public Class<T> getJavaClass()
EnhancedAnnotated
getJavaClass
in interface EnhancedAnnotated<T,S>
public boolean isFinal()
EnhancedAnnotated
isFinal
in interface EnhancedAnnotated<T,S>
public boolean isStatic()
EnhancedAnnotated
isStatic
in interface EnhancedAnnotated<T,S>
public boolean isGeneric()
isGeneric
in interface EnhancedAnnotated<T,S>
public boolean isPublic()
EnhancedAnnotated
isPublic
in interface EnhancedAnnotated<T,S>
public boolean isPrivate()
isPrivate
in interface EnhancedAnnotated<T,S>
public boolean isPackagePrivate()
isPackagePrivate
in interface EnhancedAnnotated<T,S>
public Package getPackage()
getPackage
in interface EnhancedAnnotated<T,S>
protected abstract EnhancedAnnotated<T,S> delegate()
delegate
in class ForwardingAnnotated
public Set<Type> getInterfaceClosure()
EnhancedAnnotated
getInterfaceClosure
in interface EnhancedAnnotated<T,S>
public boolean isParameterizedType()
isParameterizedType
in interface EnhancedAnnotated<T,S>
public boolean isPrimitive()
isPrimitive
in interface EnhancedAnnotated<T,S>
public Annotated slim()
EnhancedAnnotated
Annotated
with minimal memory footprint.slim
in interface EnhancedAnnotated<T,S>
Annotated
Copyright © 2015. All Rights Reserved.