|
||||||||||
| 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>
T - S - public abstract class ForwardingAnnotatedItem<T,S>
Provides an abstraction for delegating access to an annotated item
| Field Summary |
|---|
| Fields inherited from interface org.jboss.webbeans.introspector.AnnotatedItem |
|---|
MAPPED_METAANNOTATIONS |
| Constructor Summary | |
|---|---|
ForwardingAnnotatedItem()
|
|
| Method Summary | ||
|---|---|---|
protected abstract AnnotatedItem<T,S> |
delegate()
Gets the annotated item |
|
boolean |
equals(java.lang.Object obj)
Overridden method into delegate |
|
java.lang.reflect.Type[] |
getActualTypeArguments()
Gets the actual type arguments for any parameterized types that this AnnotatedItem represents. |
|
|
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> |
getBindingTypes()
Deprecated. |
|
java.lang.annotation.Annotation[] |
getBindingTypesAsArray()
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 |
|
java.lang.String |
getName()
Gets the name of this AnnotatedItem If it is not possible to determine the name of the underling element, a IllegalArgumentException is thrown |
|
java.lang.Class<T> |
getType()
Gets the type of the element |
|
int |
hashCode()
Overridden method into delegate |
|
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Indicates if an annotation type specified is present |
|
boolean |
isAssignableFrom(AnnotatedItem<?,?> that)
Extends Java Class assignability such that actual type parameters are also considered |
|
boolean |
isAssignableFrom(java.util.Set<java.lang.reflect.Type> types)
Checks if any of the types provided are assignable to this, using the extended assignability algorithm provided by AnnotatedItem. |
|
boolean |
isDeclaredAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Indicates if an annotation type specified is present |
|
boolean |
isFinal()
Indicates if this AnnotatedItem represents a final element |
|
boolean |
isProxyable()
Indicates if this AnnotatedItem can be proxyed |
|
boolean |
isPublic()
Indicates if this annotated item is public |
|
boolean |
isStatic()
Indicates if this AnnotatedItem represents a static element |
|
java.lang.String |
toString()
Overridden method into delegate |
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ForwardingAnnotatedItem()
| Method Detail |
|---|
public java.lang.reflect.Type[] getActualTypeArguments()
AnnotatedItem
getActualTypeArguments in interface AnnotatedItem<T,S>AnnotatedItempublic <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annotationType)
AnnotatedItem
getAnnotation in interface AnnotatedItem<T,S>annotationType - The annotation to match
AnnotatedItempublic java.util.Set<java.lang.annotation.Annotation> getAnnotationsAsSet()
AnnotatedItem
getAnnotationsAsSet in interface AnnotatedItem<T,S>AnnotatedItempublic java.util.Set<java.lang.annotation.Annotation> getMetaAnnotations(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
AnnotatedItem
getMetaAnnotations in interface AnnotatedItem<T,S>AnnotatedItempublic java.lang.annotation.Annotation[] getMetaAnnotationsAsArray(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
AnnotatedItem
getMetaAnnotationsAsArray in interface AnnotatedItem<T,S>AnnotatedItem@Deprecated public java.util.Set<java.lang.annotation.Annotation> getBindingTypes()
AnnotatedItem
getBindingTypes in interface AnnotatedItem<T,S>AnnotatedItem@Deprecated public java.lang.annotation.Annotation[] getBindingTypesAsArray()
AnnotatedItem
getBindingTypesAsArray in interface AnnotatedItem<T,S>AnnotatedItempublic boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
AnnotatedItem
isAnnotationPresent in interface AnnotatedItem<T,S>annotationType - The annotation to match
AnnotatedItempublic java.util.Set<java.lang.annotation.Annotation> getDeclaredMetaAnnotations(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
AnnotatedItem
getDeclaredMetaAnnotations in interface AnnotatedItem<T,S>public java.lang.String getName()
AnnotatedItem
getName in interface AnnotatedItem<T,S>AnnotatedItempublic java.lang.Class<T> getType()
AnnotatedItem
getType in interface AnnotatedItem<T,S>AnnotatedItempublic boolean isAssignableFrom(AnnotatedItem<?,?> that)
AnnotatedItem
isAssignableFrom in interface AnnotatedItem<T,S>that - The other item to check assignability against
AnnotatedItempublic boolean isAssignableFrom(java.util.Set<java.lang.reflect.Type> types)
AnnotatedItem
isAssignableFrom in interface AnnotatedItem<T,S>types - The set of types to match
AnnotatedItempublic boolean isFinal()
AnnotatedItem
isFinal in interface AnnotatedItem<T,S>AnnotatedItempublic boolean isStatic()
AnnotatedItem
isStatic in interface AnnotatedItem<T,S>AnnotatedItempublic boolean isProxyable()
AnnotatedItem
isProxyable in interface AnnotatedItem<T,S>AnnotatedItempublic boolean isPublic()
AnnotatedItem
isPublic in interface AnnotatedItem<T,S>public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectAnnotatedItempublic int hashCode()
hashCode in class java.lang.ObjectAnnotatedItempublic java.lang.String toString()
toString in class java.lang.ObjectAnnotatedItemprotected abstract AnnotatedItem<T,S> delegate()
public AnnotationStore getAnnotationStore()
getAnnotationStore in interface AnnotatedItem<T,S>public boolean isDeclaredAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
AnnotatedItem
isDeclaredAnnotationPresent in interface AnnotatedItem<T,S>annotationType - The annotation to match
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||