org.jboss.webbeans.introspector
Class ForwardingAnnotatedType<T>

java.lang.Object
  extended by org.jboss.webbeans.introspector.ForwardingAnnotatedItem<T,java.lang.Class<T>>
      extended by org.jboss.webbeans.introspector.ForwardingAnnotatedType<T>
All Implemented Interfaces:
AnnotatedItem<T,java.lang.Class<T>>, AnnotatedType<T>
Direct Known Subclasses:
ForwardingAnnotatedAnnotation, ForwardingAnnotatedClass

public abstract class ForwardingAnnotatedType<T>
extends ForwardingAnnotatedItem<T,java.lang.Class<T>>
implements AnnotatedType<T>


Field Summary
 
Fields inherited from interface org.jboss.webbeans.introspector.AnnotatedItem
MAPPED_METAANNOTATIONS
 
Constructor Summary
ForwardingAnnotatedType()
           
 
Method Summary
protected abstract  AnnotatedType<T> delegate()
          Gets the annotated item
 java.lang.String getSimpleName()
           
 AnnotatedType<?> getSuperclass()
          Gets the superclass of the type
 boolean isEquivalent(java.lang.Class<?> clazz)
          Check if this is equivalent to a java class
 
Methods inherited from class org.jboss.webbeans.introspector.ForwardingAnnotatedItem
equals, getActualTypeArguments, getAnnotation, getAnnotationsAsSet, getAnnotationStore, getBindings, getBindingsAsArray, getDeclaredMetaAnnotations, getFlattenedTypeHierarchy, getMetaAnnotations, getMetaAnnotationsAsArray, getName, getRawType, getType, hashCode, isAnnotationPresent, 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.AnnotatedItem
getActualTypeArguments, getAnnotation, getAnnotationsAsSet, getAnnotationStore, getBindings, getBindingsAsArray, getDeclaredMetaAnnotations, getFlattenedTypeHierarchy, getMetaAnnotations, getMetaAnnotationsAsArray, getName, getRawType, getType, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isDeclaredAnnotationPresent, isFinal, isParameterizedType, isProxyable, isPublic, isStatic
 

Constructor Detail

ForwardingAnnotatedType

public ForwardingAnnotatedType()
Method Detail

delegate

protected abstract AnnotatedType<T> delegate()
Description copied from class: ForwardingAnnotatedItem
Gets the annotated item

Specified by:
delegate in class ForwardingAnnotatedItem<T,java.lang.Class<T>>
Returns:
The annotated item

getSuperclass

public AnnotatedType<?> getSuperclass()
Description copied from interface: AnnotatedType
Gets the superclass of the type

Specified by:
getSuperclass in interface AnnotatedType<T>
Returns:
The abstracted superclass

isEquivalent

public boolean isEquivalent(java.lang.Class<?> clazz)
Description copied from interface: AnnotatedType
Check if this is equivalent to a java class

Specified by:
isEquivalent in interface AnnotatedType<T>
Parameters:
clazz - The Java class
Returns:
true if equivalent

getSimpleName

public java.lang.String getSimpleName()
Specified by:
getSimpleName in interface AnnotatedType<T>


Copyright © 2011. All Rights Reserved.