org.jboss.webbeans.introspector.jlr
Class AbstractAnnotatedType<T>

java.lang.Object
  extended by org.jboss.webbeans.introspector.jlr.AbstractAnnotatedItem<T,java.lang.Class<T>>
      extended by org.jboss.webbeans.introspector.jlr.AbstractAnnotatedType<T>
Type Parameters:
T -
All Implemented Interfaces:
AnnotatedItem<T,java.lang.Class<T>>
Direct Known Subclasses:
AnnotatedAnnotationImpl, AnnotatedClassImpl

public abstract class AbstractAnnotatedType<T>
extends AbstractAnnotatedItem<T,java.lang.Class<T>>

Represents an abstract annotated type This class is immutable, and therefore threadsafe

Author:
Pete Muir

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.webbeans.introspector.jlr.AbstractAnnotatedItem
AbstractAnnotatedItem.AnnotationMap
 
Field Summary
 
Fields inherited from interface org.jboss.webbeans.introspector.AnnotatedItem
MAPPED_METAANNOTATIONS
 
Constructor Summary
AbstractAnnotatedType(AbstractAnnotatedItem.AnnotationMap annotationMap, java.lang.Class<T> type)
          Constructor
 
Method Summary
 java.lang.String getName()
          Gets the name of the type
 AnnotatedClass<java.lang.Object> getSuperclass()
          Gets the superclass abstraction of the type
 boolean isFinal()
          Indicates if the type if final
 boolean isStatic()
          Indicates if the type is static
 java.lang.String toDetailedString()
           
 java.lang.String toString()
          Gets a string representation of the type
 
Methods inherited from class org.jboss.webbeans.introspector.jlr.AbstractAnnotatedItem
buildAnnotationMap, buildAnnotationMap, equals, getAnnotation, getAnnotationMap, getAnnotations, getBindingTypes, getBindingTypesAsArray, getDelegate, getMetaAnnotations, getMetaAnnotationsAsArray, getParameterValues, getParameterValues, hashCode, isAnnotationPresent, isAssignableFrom, isAssignableFrom, isProxyable
 
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, getType
 

Constructor Detail

AbstractAnnotatedType

public AbstractAnnotatedType(AbstractAnnotatedItem.AnnotationMap annotationMap,
                             java.lang.Class<T> type)
Constructor

Parameters:
annotationMap - The annotation map
Method Detail

isStatic

public boolean isStatic()
Indicates if the type is static

Returns:
True if static, false otherwise
See Also:
AnnotatedItem.isStatic()

isFinal

public boolean isFinal()
Indicates if the type if final

Returns:
True if final, false otherwise
See Also:
AnnotatedItem.isFinal()

getName

public java.lang.String getName()
Gets the name of the type

Returns:
The name
See Also:
AnnotatedItem.getName()

getSuperclass

public AnnotatedClass<java.lang.Object> getSuperclass()
Gets the superclass abstraction of the type

Returns:
The superclass abstraction

toString

public java.lang.String toString()
Gets a string representation of the type

Overrides:
toString in class AbstractAnnotatedItem<T,java.lang.Class<T>>
Returns:
A string representation

toDetailedString

public java.lang.String toDetailedString()
Overrides:
toDetailedString in class AbstractAnnotatedItem<T,java.lang.Class<T>>


Copyright © 2008. All Rights Reserved.