org.reflext.spi.model
Interface TypeModel<T>


public interface TypeModel<T>

Version:
$Revision$
Author:
Julien Viet

Method Summary
 Iterable<T> getBounds(T typeVariable)
           
 ClassKind getClassKind(T classType)
           
 String getClassName(T classType)
           
 T getComponentType(T arrayType)
           
<A extends Annotation>
A
getDeclaredAnnotation(T classType, Class<A> annotationClass)
           
 T getGenericDeclaration(T typeVariable)
           
 GenericDeclarationKind getGenericDeclarationKind(T typeVariable)
           
 Iterable<T> getInterfaces(T classType)
           
 TypeKind getKind(T type)
           
 LiteralType getLiteralType(T simpleType)
           
 Iterable<T> getLowerBounds(T wildcardType)
           
 String getName(T typeVariable)
           
 T getRawType(T parameterizedType)
           
 T getSuperClass(T classType)
           
 Iterable<T> getTypeArguments(T parameterizedType)
           
 Iterable<T> getTypeParameters(T classType)
           
 Iterable<T> getUpperBounds(T wildcardType)
           
 boolean isPrimitive(T simpleType)
           
 

Method Detail

getKind

TypeKind getKind(T type)

getLiteralType

LiteralType getLiteralType(T simpleType)

isPrimitive

boolean isPrimitive(T simpleType)

getClassName

String getClassName(T classType)

getInterfaces

Iterable<T> getInterfaces(T classType)

getSuperClass

T getSuperClass(T classType)

getClassKind

ClassKind getClassKind(T classType)

getTypeParameters

Iterable<T> getTypeParameters(T classType)

getName

String getName(T typeVariable)

getComponentType

T getComponentType(T arrayType)

getGenericDeclaration

T getGenericDeclaration(T typeVariable)

getGenericDeclarationKind

GenericDeclarationKind getGenericDeclarationKind(T typeVariable)

getRawType

T getRawType(T parameterizedType)

getTypeArguments

Iterable<T> getTypeArguments(T parameterizedType)

getBounds

Iterable<T> getBounds(T typeVariable)

getUpperBounds

Iterable<T> getUpperBounds(T wildcardType)

getLowerBounds

Iterable<T> getLowerBounds(T wildcardType)

getDeclaredAnnotation

<A extends Annotation> A getDeclaredAnnotation(T classType,
                                               Class<A> annotationClass)


Copyright © 2009 eXo Platform SAS. All Rights Reserved.