org.jboss.webbeans.introspector
Interface AnnotatedType<T>

Type Parameters:
T -
All Superinterfaces:
AnnotatedItem<T,java.lang.Class<T>>
All Known Subinterfaces:
AnnotatedAnnotation<T>, AnnotatedClass<T>
All Known Implementing Classes:
AbstractAnnotatedType, AnnotatedAnnotationImpl, AnnotatedClassImpl, ForwardingAnnotatedAnnotation, ForwardingAnnotatedClass, ForwardingAnnotatedType, WrappedAnnotatedClass

public interface AnnotatedType<T>
extends AnnotatedItem<T,java.lang.Class<T>>

AnnotatedType provides a uniform access to a type defined either in Java or XML

Author:
Pete Muir

Field Summary
 
Fields inherited from interface org.jboss.webbeans.introspector.AnnotatedItem
MAPPED_METAANNOTATIONS
 
Method Summary
 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 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
 

Method Detail

getSuperclass

AnnotatedType<?> getSuperclass()
Gets the superclass of the type

Returns:
The abstracted superclass

isEquivalent

boolean isEquivalent(java.lang.Class<?> clazz)
Check if this is equivalent to a java class

Parameters:
clazz - The Java class
Returns:
true if equivalent

getSimpleName

java.lang.String getSimpleName()


Copyright © 2011. All Rights Reserved.