org.reflext.apt
Class JavaxLangTypeModel

java.lang.Object
  extended by org.reflext.apt.JavaxLangTypeModel
All Implemented Interfaces:
TypeModel<Object>

public class JavaxLangTypeModel
extends Object
implements TypeModel<Object>

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
JavaxLangTypeModel()
           
 
Method Summary
 Iterable<Object> getBounds(Object typeVariable)
           
 ClassKind getClassKind(Object classType)
           
 String getClassName(Object classType)
           
 Object getComponentType(Object arrayType)
           
<A extends Annotation>
A
getDeclaredAnnotation(Object classType, Class<A> annotationClass)
           
 Object getGenericDeclaration(Object typeVariable)
           
 GenericDeclarationKind getGenericDeclarationKind(Object typeVariable)
           
 Iterable<Object> getInterfaces(Object classType)
           
 TypeKind getKind(Object type)
           
 LiteralType getLiteralType(Object simpleType)
           
 Iterable<Object> getLowerBounds(Object wildcardType)
           
 String getName(Object typeVariable)
           
 Object getRawType(Object parameterizedType)
           
 Object getSuperClass(Object classType)
           
 Iterable<Object> getTypeArguments(Object parameterizedType)
           
 Iterable<Object> getTypeParameters(Object classType)
           
 Iterable<Object> getUpperBounds(Object wildcardType)
           
 boolean isPrimitive(Object simpleType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaxLangTypeModel

public JavaxLangTypeModel()
Method Detail

getKind

public TypeKind getKind(Object type)
Specified by:
getKind in interface TypeModel<Object>

getClassName

public String getClassName(Object classType)
Specified by:
getClassName in interface TypeModel<Object>

getInterfaces

public Iterable<Object> getInterfaces(Object classType)
Specified by:
getInterfaces in interface TypeModel<Object>

getClassKind

public ClassKind getClassKind(Object classType)
Specified by:
getClassKind in interface TypeModel<Object>

getSuperClass

public Object getSuperClass(Object classType)
Specified by:
getSuperClass in interface TypeModel<Object>

getTypeParameters

public Iterable<Object> getTypeParameters(Object classType)
Specified by:
getTypeParameters in interface TypeModel<Object>

getName

public String getName(Object typeVariable)
Specified by:
getName in interface TypeModel<Object>

getGenericDeclarationKind

public GenericDeclarationKind getGenericDeclarationKind(Object typeVariable)
Specified by:
getGenericDeclarationKind in interface TypeModel<Object>

getLiteralType

public LiteralType getLiteralType(Object simpleType)
Specified by:
getLiteralType in interface TypeModel<Object>

getComponentType

public Object getComponentType(Object arrayType)
Specified by:
getComponentType in interface TypeModel<Object>

isPrimitive

public boolean isPrimitive(Object simpleType)
Specified by:
isPrimitive in interface TypeModel<Object>

getGenericDeclaration

public Object getGenericDeclaration(Object typeVariable)
Specified by:
getGenericDeclaration in interface TypeModel<Object>

getRawType

public Object getRawType(Object parameterizedType)
Specified by:
getRawType in interface TypeModel<Object>

getTypeArguments

public Iterable<Object> getTypeArguments(Object parameterizedType)
Specified by:
getTypeArguments in interface TypeModel<Object>

getBounds

public Iterable<Object> getBounds(Object typeVariable)
Specified by:
getBounds in interface TypeModel<Object>

getUpperBounds

public Iterable<Object> getUpperBounds(Object wildcardType)
Specified by:
getUpperBounds in interface TypeModel<Object>

getLowerBounds

public Iterable<Object> getLowerBounds(Object wildcardType)
Specified by:
getLowerBounds in interface TypeModel<Object>

getDeclaredAnnotation

public <A extends Annotation> A getDeclaredAnnotation(Object classType,
                                                      Class<A> annotationClass)
Specified by:
getDeclaredAnnotation in interface TypeModel<Object>


Copyright © 2009 eXo Platform SAS. All Rights Reserved.