org.reflext.jlr
Class JavaLangReflectTypeModel
java.lang.Object
org.reflext.jlr.JavaLangReflectTypeModel
- All Implemented Interfaces:
- TypeModel<Type>
public class JavaLangReflectTypeModel
- extends Object
- implements TypeModel<Type>
- Version:
- $Revision$
- Author:
- Julien Viet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaLangReflectTypeModel
public JavaLangReflectTypeModel()
getKind
public TypeKind getKind(Type type)
- Specified by:
getKind in interface TypeModel<Type>
getLiteralType
public LiteralType getLiteralType(Type simpleType)
- Specified by:
getLiteralType in interface TypeModel<Type>
getComponentType
public Type getComponentType(Type arrayType)
- Specified by:
getComponentType in interface TypeModel<Type>
isPrimitive
public boolean isPrimitive(Type simpleType)
- Specified by:
isPrimitive in interface TypeModel<Type>
getClassName
public String getClassName(Type classType)
- Specified by:
getClassName in interface TypeModel<Type>
getClassKind
public ClassKind getClassKind(Type classType)
- Specified by:
getClassKind in interface TypeModel<Type>
getInterfaces
public Iterable<Type> getInterfaces(Type classType)
- Specified by:
getInterfaces in interface TypeModel<Type>
getSuperClass
public Type getSuperClass(Type classType)
- Specified by:
getSuperClass in interface TypeModel<Type>
getTypeParameters
public Iterable<Type> getTypeParameters(Type classType)
- Specified by:
getTypeParameters in interface TypeModel<Type>
getGenericDeclaration
public Type getGenericDeclaration(Type typeVariable)
- Specified by:
getGenericDeclaration in interface TypeModel<Type>
getGenericDeclarationKind
public GenericDeclarationKind getGenericDeclarationKind(Type typeVariable)
- Specified by:
getGenericDeclarationKind in interface TypeModel<Type>
getName
public String getName(Type typeVariable)
- Specified by:
getName in interface TypeModel<Type>
getBounds
public Iterable<Type> getBounds(Type typeVariable)
- Specified by:
getBounds in interface TypeModel<Type>
getRawType
public Type getRawType(Type parameterizedType)
- Specified by:
getRawType in interface TypeModel<Type>
getTypeArguments
public Iterable<Type> getTypeArguments(Type parameterizedType)
- Specified by:
getTypeArguments in interface TypeModel<Type>
getUpperBounds
public Iterable<Type> getUpperBounds(Type wildcardType)
- Specified by:
getUpperBounds in interface TypeModel<Type>
getLowerBounds
public Iterable<Type> getLowerBounds(Type wildcardType)
- Specified by:
getLowerBounds in interface TypeModel<Type>
getDeclaredAnnotation
public <A extends Annotation> A getDeclaredAnnotation(Type classType,
Class<A> annotationClass)
- Specified by:
getDeclaredAnnotation in interface TypeModel<Type>
Copyright © 2009 eXo Platform SAS. All Rights Reserved.