Class MetaAnnotatedElement<T extends AnnotatedElement>
java.lang.Object
org.apache.xbean.finder.MetaAnnotatedElement<T>
- All Implemented Interfaces:
AnnotatedElement, Annotated<T>, MetaAnnotated<T>
- Direct Known Subclasses:
MetaAnnotatedClass, MetaAnnotatedConstructor, MetaAnnotatedField, MetaAnnotatedMethod
public class MetaAnnotatedElement<T extends AnnotatedElement>
extends Object
implements AnnotatedElement, MetaAnnotated<T>
- Version:
- $Rev$ $Date$
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Map<Class<? extends Annotation>, MetaAnnotation<?>> protected final T -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanget()<T extends Annotation>
TgetAnnotation(Class<T> annotationClass) inthashCode()booleanisAnnotationPresent(Class<? extends Annotation> annotationClass) toString()protected static Map<Class<? extends Annotation>, MetaAnnotation<?>> unroll(Annotation[] annotations) protected static Map<Class<? extends Annotation>, MetaAnnotation<?>> unroll(AnnotatedElement element) protected Annotation[][]unrollParameters(Annotation[][] parameterAnnotations) Methods inherited from interface AnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType
-
Field Details
-
annotations
-
target
-
-
Constructor Details
-
MetaAnnotatedElement
-
-
Method Details
-
get
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotationsin interfaceAnnotatedElement
-
isAnnotationPresent
- Specified by:
isAnnotationPresentin interfaceAnnotatedElement
-
getAnnotation
- Specified by:
getAnnotationin interfaceAnnotatedElement
-
getAnnotations
- Specified by:
getAnnotationsin interfaceAnnotatedElement
-
getMetaAnnotations
- Specified by:
getMetaAnnotationsin interfaceMetaAnnotated<T extends AnnotatedElement>
-
equals
-
hashCode
-
toString
-
unroll
protected static Map<Class<? extends Annotation>, MetaAnnotation<?>> unroll(AnnotatedElement element) -
unroll
protected static Map<Class<? extends Annotation>, MetaAnnotation<?>> unroll(Annotation[] annotations) -
unrollParameters
-