|
||||||||||
| 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 | ||
|---|---|---|
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<? extends A> annotationType)
Gets an annotation for the annotation type specified. |
|
|
getAnnotations()
Gets all annotations on the item |
|
java.util.Set<java.lang.annotation.Annotation> |
getBindingTypes()
Gets the binding types for this element |
|
java.lang.annotation.Annotation[] |
getBindingTypesAsArray()
Gets the binding types for this element |
|
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.Class<?>> types)
Checks if any of the types provided are assignable to this, using the extended assignability algorithm provided by AnnotatedItem. |
|
boolean |
isFinal()
Indicates if this AnnotatedItem represents a final element |
|
boolean |
isProxyable()
Indicates if this AnnotatedItem can be proxyed |
|
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<? extends A> annotationType)
AnnotatedItem
getAnnotation in interface AnnotatedItem<T,S>annotationType - The annotation to match
AnnotatedItempublic <A extends java.lang.annotation.Annotation> java.util.Set<A> getAnnotations()
AnnotatedItem
getAnnotations 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>AnnotatedItempublic java.util.Set<java.lang.annotation.Annotation> getBindingTypes()
AnnotatedItem
getBindingTypes in interface AnnotatedItem<T,S>AnnotatedItempublic java.lang.annotation.Annotation[] getBindingTypesAsArray()
AnnotatedItem
getBindingTypesAsArray in interface AnnotatedItem<T,S>AnnotatedItempublic 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 isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
AnnotatedItem
isAnnotationPresent in interface AnnotatedItem<T,S>annotationType - The annotation to match
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.Class<?>> 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 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.ObjectAnnotatedItempublic abstract AnnotatedItem<T,S> delegate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||