| Constructor and Description |
|---|
ClassType(Class<?> javaClass,
Type... parameters) |
ClassType(TypeCategory category,
Class<?> clazz,
List<Type> parameters) |
ClassType(TypeCategory category,
Class<?> clazz,
Type... parameters) |
| Modifier and Type | Method and Description |
|---|---|
Type |
as(TypeCategory c) |
Type |
asArrayType() |
boolean |
equals(Object o) |
TypeCategory |
getCategory() |
Type |
getComponentType() |
Type |
getEnclosingType() |
String |
getFullName() |
String |
getGenericName(boolean asArgType) |
String |
getGenericName(boolean asArgType,
Set<String> packages,
Set<String> classes) |
Class<?> |
getJavaClass() |
String |
getPackageName() |
List<Type> |
getParameters() |
String |
getRawName(Set<String> packages,
Set<String> classes) |
String |
getSimpleName() |
int |
hashCode() |
boolean |
isFinal() |
boolean |
isMember() |
boolean |
isPrimitive() |
String |
toString() |
public ClassType(TypeCategory category, Class<?> clazz, Type... parameters)
public ClassType(TypeCategory category, Class<?> clazz, List<Type> parameters)
public Type as(TypeCategory c)
public Type asArrayType()
asArrayType in interface Typepublic TypeCategory getCategory()
getCategory in interface Typepublic Type getComponentType()
getComponentType in interface Typepublic Type getEnclosingType()
getEnclosingType in interface Typepublic String getFullName()
getFullName in interface Typepublic String getGenericName(boolean asArgType)
getGenericName in interface Typepublic String getGenericName(boolean asArgType, Set<String> packages, Set<String> classes)
getGenericName in interface Typepublic Class<?> getJavaClass()
getJavaClass in interface Typepublic String getPackageName()
getPackageName in interface Typepublic List<Type> getParameters()
getParameters in interface Typepublic String getRawName(Set<String> packages, Set<String> classes)
getRawName in interface Typepublic String getSimpleName()
getSimpleName in interface Typepublic boolean isPrimitive()
isPrimitive in interface TypeCopyright © 2010–2015 Mysema Ltd. All rights reserved.