T
- public class EnhancedAnnotationImpl<T extends Annotation> extends EnhancedAnnotatedTypeImpl<T> implements EnhancedAnnotation<T>
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS
Modifier | Constructor and Description |
---|---|
protected |
EnhancedAnnotationImpl(SlimAnnotatedType<T> annotatedType,
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(SlimAnnotatedType<A> annotatedType,
ClassTransformer classTransformer) |
Class<T> |
getDelegate()
Gets the delegate (class)
|
Set<EnhancedAnnotatedMethod<?,?>> |
getMembers()
Gets all members of the annotation
Initializes the members first if they are null
|
Set<EnhancedAnnotatedMethod<?,?>> |
getMembers(Class<? extends Annotation> annotationType)
Returns the annotated members with a given annotation type
If the annotated members are null, they are initialized first.
|
protected Set<EnhancedAnnotatedMethod<?,? super T>> |
getOverriddenMethods(EnhancedAnnotatedType<T> annotatedType,
Set<EnhancedAnnotatedMethod<?,? super T>> methods) |
String |
toString()
Gets a string representation of the annotation
|
asEnhancedSubclass, buildAnnotatedMethodMultimap, buildAnnotatedParameterMethodMultimap, cast, equals, getAnnotatedClass, getConstructors, getDeclaredEnhancedConstructor, getDeclaredEnhancedField, getDeclaredEnhancedFields, getDeclaredEnhancedFields, getDeclaredEnhancedMethod, getDeclaredEnhancedMethod, getDeclaredEnhancedMethods, getDeclaredEnhancedMethods, getDeclaredEnhancedMethodsWithAnnotatedParameters, getDeclaredMetaAnnotations, getEnhancedConstructors, getEnhancedConstructors, getEnhancedFields, getEnhancedFields, getEnhancedMethod, getEnhancedMethod, getEnhancedMethods, getEnhancedMethods, getEnhancedMethodsWithAnnotatedParameters, getEnhancedSuperclass, getFields, getMethods, getName, getNoArgsEnhancedConstructor, getPackage, getSimpleName, hashCode, isAbstract, isAnonymousClass, isDiscovered, isEnum, isEquivalent, isFinal, isGeneric, isLocalClass, isMemberClass, isPackagePrivate, isPrivate, isPublic, isSerializable, isStatic, of, slim
addMetaAnnotations, addMetaAnnotations, buildAnnotationMap, buildAnnotationMap, getActualTypeArguments, getAnnotation, getAnnotations, getBaseType, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getQualifiers, getTypeClosure, isAnnotationPresent, isParameterizedType, isPrimitive
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asEnhancedSubclass, cast, getDeclaredEnhancedConstructor, getDeclaredEnhancedField, getDeclaredEnhancedFields, getDeclaredEnhancedFields, getDeclaredEnhancedMethod, getDeclaredEnhancedMethod, getDeclaredEnhancedMethods, getDeclaredEnhancedMethods, getDeclaredEnhancedMethodsWithAnnotatedParameters, getDeclaredMetaAnnotations, getEnhancedConstructors, getEnhancedConstructors, getEnhancedFields, getEnhancedFields, getEnhancedMethod, getEnhancedMethod, getEnhancedMethods, getEnhancedMethods, getEnhancedMethodsWithAnnotatedParameters, getEnhancedSuperclass, getNoArgsEnhancedConstructor, getSimpleName, isAbstract, isAnonymousClass, isDiscovered, isEnum, isEquivalent, isLocalClass, isMemberClass, isParameterizedType, isSerializable, slim
getActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isGeneric, isPackagePrivate, isPrimitive, isPrivate, isPublic, isStatic
protected EnhancedAnnotationImpl(SlimAnnotatedType<T> annotatedType, Map<Class<? extends Annotation>,Annotation> annotationMap, Map<Class<? extends Annotation>,Annotation> declaredAnnotationMap, ClassTransformer classTransformer)
annotationType
- The annotation typepublic static <A extends Annotation> EnhancedAnnotation<A> create(SlimAnnotatedType<A> annotatedType, ClassTransformer classTransformer)
protected Set<EnhancedAnnotatedMethod<?,? super T>> getOverriddenMethods(EnhancedAnnotatedType<T> annotatedType, Set<EnhancedAnnotatedMethod<?,? super T>> methods)
getOverriddenMethods
in class EnhancedAnnotatedTypeImpl<T extends Annotation>
public Set<EnhancedAnnotatedMethod<?,?>> getMembers()
getMembers
in interface EnhancedAnnotation<T extends Annotation>
EnhancedAnnotation.getMembers()
public Set<EnhancedAnnotatedMethod<?,?>> getMembers(Class<? extends Annotation> annotationType)
getMembers
in interface EnhancedAnnotation<T extends Annotation>
annotationType
- The annotation type to matchEnhancedAnnotation.getMembers(Class)
public String toString()
toString
in class EnhancedAnnotatedTypeImpl<T extends Annotation>
public Class<T> getDelegate()
EnhancedAnnotatedTypeImpl
getDelegate
in class EnhancedAnnotatedTypeImpl<T extends Annotation>
Copyright © 2013 Seam Framework. All rights reserved.