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 Type
public TypeCategory getCategory()
getCategory
in interface Type
public Type getComponentType()
getComponentType
in interface Type
public Type getEnclosingType()
getEnclosingType
in interface Type
public String getFullName()
getFullName
in interface Type
public String getGenericName(boolean asArgType)
getGenericName
in interface Type
public String getGenericName(boolean asArgType, Set<String> packages, Set<String> classes)
getGenericName
in interface Type
public Class<?> getJavaClass()
getJavaClass
in interface Type
public String getPackageName()
getPackageName
in interface Type
public List<Type> getParameters()
getParameters
in interface Type
public String getRawName(Set<String> packages, Set<String> classes)
getRawName
in interface Type
public String getSimpleName()
getSimpleName
in interface Type
public boolean isPrimitive()
isPrimitive
in interface Type
Copyright © 2010–2022. All rights reserved.