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, getOverriddenMethods, getPackage, getSimpleName, getWeldConstructors, getWeldFields, getWeldFields, getWeldMethod, getWeldMethod, getWeldMethods, getWeldMethods, getWeldSuperclass, isAbstract, isAnonymousClass, isDiscovered, isEnum, isEquivalent, isFinal, isGeneric, isLocalClass, isMemberClass, isMethodOverridden, isModified, isPackagePrivate, isPrivate, isPublic, isSerializable, isStatic, of, of, ofaddMetaAnnotations, addMetaAnnotations, buildAnnotationMap, buildAnnotationMap, getActualTypeArguments, getAnnotation, getAnnotations, getBaseType, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getQualifiers, getTypeClosure, isAnnotationPresent, isParameterizedType, isPrimitiveclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasWeldSubclass, 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, isMethodOverridden, isModified, isParameterizedType, isSerializablegetActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isGeneric, isPackagePrivate, isPrimitive, isPrivate, isPublic, isStaticprotected 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()
WeldClassImplgetDelegate in class WeldClassImpl<T extends Annotation>Copyright © 2014 Seam Framework. All Rights Reserved.