|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.webbeans.introspector.ForwardingAnnotatedItem<T,S>
org.jboss.webbeans.introspector.ForwardingAnnotatedMember<T,java.lang.reflect.Field>
org.jboss.webbeans.introspector.ForwardingAnnotatedField<T>
org.jboss.webbeans.introspector.WrappedAnnotatedField<T>
public class WrappedAnnotatedField<T>
Field Summary |
---|
Fields inherited from interface org.jboss.webbeans.introspector.AnnotatedItem |
---|
MAPPED_METAANNOTATIONS |
Constructor Summary | |
---|---|
WrappedAnnotatedField(AnnotatedField<T> field,
java.util.Set<java.lang.annotation.Annotation> extraAnnotations)
|
Method Summary | ||
---|---|---|
protected AnnotatedField<T> |
delegate()
Gets the annotated item |
|
|
getAnnotation(java.lang.Class<A> annotationType)
Gets an annotation for the annotation type specified. |
|
java.util.Set<java.lang.annotation.Annotation> |
getAnnotationsAsSet()
Gets all annotations on the item |
|
AnnotationStore |
getAnnotationStore()
|
|
java.util.Set<java.lang.annotation.Annotation> |
getBindings()
Deprecated. |
|
java.lang.annotation.Annotation[] |
getBindingsAsArray()
Deprecated. |
|
java.util.Set<java.lang.annotation.Annotation> |
getDeclaredMetaAnnotations(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
Gets all annotations which are declared on this annotated item with the given meta annotation type |
|
java.util.Set<java.lang.annotation.Annotation> |
getMetaAnnotations(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
Gets all annotations which are annotated with the given meta annotation type |
|
java.lang.annotation.Annotation[] |
getMetaAnnotationsAsArray(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
Gets all annotations which are annotated with the given meta annotation type |
|
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Indicates if an annotation type specified is present |
Methods inherited from class org.jboss.webbeans.introspector.ForwardingAnnotatedField |
---|
get, getAnnotatedField, getDeclaringClass, getPropertyName, isTransient, set |
Methods inherited from class org.jboss.webbeans.introspector.ForwardingAnnotatedMember |
---|
getMember |
Methods inherited from class org.jboss.webbeans.introspector.ForwardingAnnotatedItem |
---|
equals, getActualTypeArguments, getFlattenedTypeHierarchy, getName, getRawType, getType, hashCode, isAssignableFrom, isAssignableFrom, isDeclaredAnnotationPresent, isFinal, isParameterizedType, isProxyable, isPublic, isStatic, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.webbeans.introspector.AnnotatedMember |
---|
getMember |
Methods inherited from interface org.jboss.webbeans.introspector.AnnotatedItem |
---|
getActualTypeArguments, getFlattenedTypeHierarchy, getName, getRawType, getType, isAssignableFrom, isAssignableFrom, isDeclaredAnnotationPresent, isFinal, isParameterizedType, isProxyable, isPublic, isStatic |
Constructor Detail |
---|
public WrappedAnnotatedField(AnnotatedField<T> field, java.util.Set<java.lang.annotation.Annotation> extraAnnotations)
Method Detail |
---|
protected AnnotatedField<T> delegate()
ForwardingAnnotatedItem
delegate
in class ForwardingAnnotatedField<T>
public AnnotationStore getAnnotationStore()
getAnnotationStore
in interface AnnotatedItem<T,java.lang.reflect.Field>
getAnnotationStore
in class ForwardingAnnotatedItem<T,java.lang.reflect.Field>
public <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annotationType)
AnnotatedItem
getAnnotation
in interface AnnotatedItem<T,java.lang.reflect.Field>
getAnnotation
in class ForwardingAnnotatedItem<T,java.lang.reflect.Field>
annotationType
- The annotation to match
AnnotatedItem
public java.util.Set<java.lang.annotation.Annotation> getAnnotationsAsSet()
AnnotatedItem
getAnnotationsAsSet
in interface AnnotatedItem<T,java.lang.reflect.Field>
getAnnotationsAsSet
in class ForwardingAnnotatedItem<T,java.lang.reflect.Field>
AnnotatedItem
public java.util.Set<java.lang.annotation.Annotation> getMetaAnnotations(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
AnnotatedItem
getMetaAnnotations
in interface AnnotatedItem<T,java.lang.reflect.Field>
getMetaAnnotations
in class ForwardingAnnotatedItem<T,java.lang.reflect.Field>
AnnotatedItem
public java.lang.annotation.Annotation[] getMetaAnnotationsAsArray(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
AnnotatedItem
getMetaAnnotationsAsArray
in interface AnnotatedItem<T,java.lang.reflect.Field>
getMetaAnnotationsAsArray
in class ForwardingAnnotatedItem<T,java.lang.reflect.Field>
AnnotatedItem
@Deprecated public java.util.Set<java.lang.annotation.Annotation> getBindings()
AnnotatedItem
getBindings
in interface AnnotatedItem<T,java.lang.reflect.Field>
getBindings
in class ForwardingAnnotatedItem<T,java.lang.reflect.Field>
AnnotatedItem
@Deprecated public java.lang.annotation.Annotation[] getBindingsAsArray()
AnnotatedItem
getBindingsAsArray
in interface AnnotatedItem<T,java.lang.reflect.Field>
getBindingsAsArray
in class ForwardingAnnotatedItem<T,java.lang.reflect.Field>
AnnotatedItem
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
AnnotatedItem
isAnnotationPresent
in interface AnnotatedItem<T,java.lang.reflect.Field>
isAnnotationPresent
in class ForwardingAnnotatedItem<T,java.lang.reflect.Field>
annotationType
- The annotation to match
AnnotatedItem
public java.util.Set<java.lang.annotation.Annotation> getDeclaredMetaAnnotations(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
AnnotatedItem
getDeclaredMetaAnnotations
in interface AnnotatedItem<T,java.lang.reflect.Field>
getDeclaredMetaAnnotations
in class ForwardingAnnotatedItem<T,java.lang.reflect.Field>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |