org.reflext.spi.model
Interface TypeModel<T>
public interface TypeModel<T>
- Version:
- $Revision$
- Author:
- Julien Viet
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 © 2010 eXo Platform SAS. All Rights Reserved.