T - public class EnhancedAnnotationImpl<T extends java.lang.annotation.Annotation> extends EnhancedAnnotatedTypeImpl<T> implements EnhancedAnnotation<T>
MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS| Modifier | Constructor and Description |
|---|---|
protected |
EnhancedAnnotationImpl(SlimAnnotatedType<T> annotatedType,
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(SlimAnnotatedType<A> annotatedType,
ClassTransformer classTransformer) |
boolean |
equals(java.lang.Object obj) |
java.lang.Class<T> |
getDelegate()
Gets the delegate (class)
|
java.util.Set<EnhancedAnnotatedMethod<?,?>> |
getMembers()
Gets all members of the annotation
Initializes the members first if they are null
|
java.util.Set<EnhancedAnnotatedMethod<?,?>> |
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.
|
protected java.util.Set<EnhancedAnnotatedMethod<?,? super T>> |
getOverriddenMethods(EnhancedAnnotatedType<T> annotatedType,
java.util.Set<EnhancedAnnotatedMethod<?,? super T>> methods,
boolean skipOverridingBridgeMethods) |
int |
hashCode() |
java.lang.String |
toString()
Gets a string representation of the annotation
|
asEnhancedSubclass, buildAnnotatedMethodMultimap, buildAnnotatedParameterMethodMultimap, cast, 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, getOverriddenMethods, getPackage, getSimpleName, isAbstract, isAnonymousClass, isDiscovered, isEnum, isEquivalent, isFinal, isGeneric, isLocalClass, isMemberClass, isPackagePrivate, isPrivate, isPublic, isSerializable, isStatic, of, slimaddMetaAnnotations, addMetaAnnotations, buildAnnotationMap, buildAnnotationMap, getActualTypeArguments, getAnnotation, getAnnotations, getBaseType, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getQualifiers, getTypeClosure, isAnnotationPresent, isParameterizedType, isPrimitiveclone, finalize, getClass, notify, notifyAll, wait, wait, waitasEnhancedSubclass, 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, slimgetActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, getQualifiers, isFinal, isGeneric, isPackagePrivate, isPrimitive, isPrivate, isPublic, isStaticgetConstructors, getFields, getJavaClass, getMethodsgetAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresentprotected EnhancedAnnotationImpl(SlimAnnotatedType<T> annotatedType, 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> EnhancedAnnotation<A> create(SlimAnnotatedType<A> annotatedType, ClassTransformer classTransformer)
protected java.util.Set<EnhancedAnnotatedMethod<?,? super T>> getOverriddenMethods(EnhancedAnnotatedType<T> annotatedType, java.util.Set<EnhancedAnnotatedMethod<?,? super T>> methods, boolean skipOverridingBridgeMethods)
getOverriddenMethods in class EnhancedAnnotatedTypeImpl<T extends java.lang.annotation.Annotation>skipOverridingBridgeMethods - If set to true the returning set will not contain methods overriden by a bridge methodpublic java.util.Set<EnhancedAnnotatedMethod<?,?>> getMembers()
getMembers in interface EnhancedAnnotation<T extends java.lang.annotation.Annotation>EnhancedAnnotation.getMembers()public java.util.Set<EnhancedAnnotatedMethod<?,?>> getMembers(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
getMembers in interface EnhancedAnnotation<T extends java.lang.annotation.Annotation>annotationType - The annotation type to matchEnhancedAnnotation.getMembers(Class)public java.lang.String toString()
toString in class EnhancedAnnotatedTypeImpl<T extends java.lang.annotation.Annotation>public java.lang.Class<T> getDelegate()
EnhancedAnnotatedTypeImplgetDelegate in class EnhancedAnnotatedTypeImpl<T extends java.lang.annotation.Annotation>public int hashCode()
hashCode in class EnhancedAnnotatedTypeImpl<T extends java.lang.annotation.Annotation>public boolean equals(java.lang.Object obj)
equals in class EnhancedAnnotatedTypeImpl<T extends java.lang.annotation.Annotation>Copyright © 2015. All Rights Reserved.