T - S - public abstract class AbstractWeldAnnotated<T,S> extends Object implements WeldAnnotated<T,S>
WeldAnnotatedMAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS| Constructor and Description |
|---|
AbstractWeldAnnotated(Map<Class<? extends Annotation>,Annotation> annotationMap,
Map<Class<? extends Annotation>,Annotation> declaredAnnotationMap,
ClassTransformer classTransformer,
Class<T> rawType,
Type type,
LazyValueHolder<Set<Type>> typeClosure)
Constructor
Also builds the meta-annotation map.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
addMetaAnnotations(ArraySetMultimap<Class<? extends Annotation>,Annotation> metaAnnotationMap,
Annotation annotation,
Annotation[] metaAnnotations,
boolean declared) |
protected static void |
addMetaAnnotations(ArraySetMultimap<Class<? extends Annotation>,Annotation> metaAnnotationMap,
Annotation annotation,
Iterable<Annotation> metaAnnotations,
boolean declared) |
protected static Map<Class<? extends Annotation>,Annotation> |
buildAnnotationMap(Annotation[] annotations)
Builds the annotation map (annotation type -> annotation)
|
protected static Map<Class<? extends Annotation>,Annotation> |
buildAnnotationMap(Iterable<Annotation> annotations)
Builds the annotation map (annotation type -> annotation)
|
Type[] |
getActualTypeArguments()
Gets the actual type arguments for any parameterized types that this
AnnotatedItem represents.
|
<A extends Annotation> |
getAnnotation(Class<A> annotationType) |
Set<Annotation> |
getAnnotations() |
Type |
getBaseType() |
Annotation[] |
getBindingsAsArray()
Deprecated.
|
abstract S |
getDelegate() |
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
|
Set<Annotation> |
getQualifiers()
Deprecated.
|
Set<Type> |
getTypeClosure() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType) |
boolean |
isParameterizedType() |
boolean |
isPrimitive() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getPackage, isFinal, isGeneric, isPackagePrivate, isPrivate, isPublic, isStaticpublic AbstractWeldAnnotated(Map<Class<? extends Annotation>,Annotation> annotationMap, Map<Class<? extends Annotation>,Annotation> declaredAnnotationMap, ClassTransformer classTransformer, Class<T> rawType, Type type, LazyValueHolder<Set<Type>> typeClosure)
annotationMap - A map of annotation to registerprotected static Map<Class<? extends Annotation>,Annotation> buildAnnotationMap(Annotation[] annotations)
annotations - The array of annotations to mapprotected static Map<Class<? extends Annotation>,Annotation> buildAnnotationMap(Iterable<Annotation> annotations)
annotations - The array of annotations to mapprotected static void addMetaAnnotations(ArraySetMultimap<Class<? extends Annotation>,Annotation> metaAnnotationMap, Annotation annotation, Annotation[] metaAnnotations, boolean declared)
protected static void addMetaAnnotations(ArraySetMultimap<Class<? extends Annotation>,Annotation> metaAnnotationMap, Annotation annotation, Iterable<Annotation> metaAnnotations, boolean declared)
public Class<T> getJavaClass()
WeldAnnotatedgetJavaClass in interface WeldAnnotated<T,S>public Type[] getActualTypeArguments()
WeldAnnotatedgetActualTypeArguments in interface WeldAnnotated<T,S>public Set<Type> getInterfaceClosure()
WeldAnnotatedgetInterfaceClosure in interface WeldAnnotated<T,S>public abstract S getDelegate()
public boolean isParameterizedType()
isParameterizedType in interface WeldAnnotated<T,S>public boolean isPrimitive()
isPrimitive in interface WeldAnnotated<T,S>public Type getBaseType()
getBaseType in interface javax.enterprise.inject.spi.Annotatedpublic Set<Type> getTypeClosure()
getTypeClosure in interface javax.enterprise.inject.spi.Annotatedpublic Set<Annotation> getAnnotations()
getAnnotations in interface javax.enterprise.inject.spi.Annotatedpublic Set<Annotation> getMetaAnnotations(Class<? extends Annotation> metaAnnotationType)
WeldAnnotatedgetMetaAnnotations in interface WeldAnnotated<T,S>@Deprecated public Set<Annotation> getQualifiers()
WeldAnnotatedgetQualifiers in interface WeldAnnotated<T,S>@Deprecated public Annotation[] getBindingsAsArray()
WeldAnnotatedgetBindingsAsArray in interface WeldAnnotated<T,S>public <A extends Annotation> A getAnnotation(Class<A> annotationType)
getAnnotation in interface javax.enterprise.inject.spi.Annotatedpublic boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
isAnnotationPresent in interface javax.enterprise.inject.spi.AnnotatedCopyright © 2014 Seam Framework. All Rights Reserved.