T
- public class WeldAnnotationImpl<T extends Annotation> extends WeldClassImpl<T> implements WeldAnnotation<T>
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS
Modifier | Constructor and Description |
---|---|
protected |
WeldAnnotationImpl(Class<T> annotationType,
Map<Class<? extends Annotation>,Annotation> annotationMap,
Map<Class<? extends Annotation>,Annotation> declaredAnnotationMap,
ClassTransformer classTransformer)
Constructor
Initializes the superclass with the built annotation map
|
Modifier and Type | Method and Description |
---|---|
static <A extends Annotation> |
create(Class<A> annotationType,
ClassTransformer classTransformer) |
Class<T> |
getDelegate()
Gets the delegate (class)
|
Set<WeldMethod<?,?>> |
getMembers()
Gets all members of the annotation
Initializes the members first if they are null
|
Set<WeldMethod<?,?>> |
getMembers(Class<? extends Annotation> annotationType)
Returns the annotated members with a given annotation type
If the annotated members are null, they are initialized first.
|
String |
toString()
Gets a string representation of the annotation
|
asWeldSubclass, cast, getAnnotatedClass, getConstructors, getDeclaredFields, getDeclaredMetaAnnotations, getDeclaredWeldConstructor, getDeclaredWeldField, getDeclaredWeldFields, getDeclaredWeldMethod, getDeclaredWeldMethod, getDeclaredWeldMethods, getDeclaredWeldMethods, getDeclaredWeldMethodsWithAnnotatedParameters, getFields, getMethods, getName, getNoArgsWeldConstructor, getPackage, getSimpleName, getWeldConstructors, getWeldFields, getWeldFields, getWeldMethod, getWeldMethod, getWeldMethods, getWeldMethods, getWeldSuperclass, isAbstract, isAnonymousClass, isDiscovered, isEnum, isEquivalent, isFinal, isGeneric, isLocalClass, isMemberClass, isPackagePrivate, isPrivate, isPublic, isSerializable, isStatic, of, of, of
addMetaAnnotations, addMetaAnnotations, buildAnnotationMap, buildAnnotationMap, getActualTypeArguments, getAnnotation, getAnnotations, getBaseType, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getQualifiers, getTypeClosure, isAnnotationPresent, isParameterizedType, isPrimitive
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asWeldSubclass, cast, getDeclaredMetaAnnotations, getDeclaredWeldConstructor, getDeclaredWeldField, getDeclaredWeldFields, getDeclaredWeldMethod, getDeclaredWeldMethod, getDeclaredWeldMethods, getDeclaredWeldMethods, getDeclaredWeldMethodsWithAnnotatedParameters, getNoArgsWeldConstructor, getSimpleName, getWeldConstructors, getWeldFields, getWeldFields, getWeldMethod, getWeldMethod, getWeldMethods, getWeldMethods, getWeldSuperclass, isAbstract, isAnonymousClass, isDiscovered, isEnum, isEquivalent, isLocalClass, isMemberClass, isParameterizedType, isSerializable
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isGeneric, isPackagePrivate, isPrimitive, isPrivate, isPublic, isStatic
protected WeldAnnotationImpl(Class<T> annotationType, Map<Class<? extends Annotation>,Annotation> annotationMap, Map<Class<? extends Annotation>,Annotation> declaredAnnotationMap, ClassTransformer classTransformer)
annotationType
- The annotation typepublic static <A extends Annotation> WeldAnnotation<A> create(Class<A> annotationType, ClassTransformer classTransformer)
public Set<WeldMethod<?,?>> getMembers()
getMembers
in interface WeldAnnotation<T extends Annotation>
WeldAnnotation.getMembers()
public Set<WeldMethod<?,?>> getMembers(Class<? extends Annotation> annotationType)
getMembers
in interface WeldAnnotation<T extends Annotation>
annotationType
- The annotation type to matchWeldAnnotation.getMembers(Class)
public String toString()
toString
in class WeldClassImpl<T extends Annotation>
public Class<T> getDelegate()
WeldClassImpl
getDelegate
in class WeldClassImpl<T extends Annotation>
Copyright © 2012 Seam Framework. All Rights Reserved.