T - public class WeldAnnotationImpl<T extends java.lang.annotation.Annotation> extends WeldClassImpl<T> implements WeldAnnotation<T>
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS| Modifier | Constructor and Description |
|---|---|
protected |
WeldAnnotationImpl(java.lang.Class<T> annotationType,
java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> annotationMap,
java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> declaredAnnotationMap,
ClassTransformer classTransformer)
Constructor
Initializes the superclass with the built annotation map
|
| Modifier and Type | Method and Description |
|---|---|
static <A extends java.lang.annotation.Annotation> |
create(java.lang.Class<A> annotationType,
ClassTransformer classTransformer) |
java.lang.Class<T> |
getDelegate()
Gets the delegate (class)
|
java.util.Set<WeldMethod<?,?>> |
getMembers()
Gets all members of the annotation
Initializes the members first if they are null
|
java.util.Set<WeldMethod<?,?>> |
getMembers(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Returns the annotated members with a given annotation type
If the annotated members are null, they are initialized first.
|
java.lang.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, isStaticgetConstructors, getFields, getJavaClass, getMethodsgetAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresentprotected WeldAnnotationImpl(java.lang.Class<T> annotationType, java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> annotationMap, java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> declaredAnnotationMap, ClassTransformer classTransformer)
annotationType - The annotation typepublic static <A extends java.lang.annotation.Annotation> WeldAnnotation<A> create(java.lang.Class<A> annotationType, ClassTransformer classTransformer)
public java.util.Set<WeldMethod<?,?>> getMembers()
getMembers in interface WeldAnnotation<T extends java.lang.annotation.Annotation>WeldAnnotation.getMembers()public java.util.Set<WeldMethod<?,?>> getMembers(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
getMembers in interface WeldAnnotation<T extends java.lang.annotation.Annotation>annotationType - The annotation type to matchWeldAnnotation.getMembers(Class)public java.lang.String toString()
toString in class WeldClassImpl<T extends java.lang.annotation.Annotation>public java.lang.Class<T> getDelegate()
WeldClassImplgetDelegate in class WeldClassImpl<T extends java.lang.annotation.Annotation>Copyright © 2014 Seam Framework. All Rights Reserved.