public class TypeAdapter extends Object implements Type
| Constructor and Description |
|---|
TypeAdapter(Type type) |
| Modifier and Type | Method and Description |
|---|---|
Type |
as(TypeCategory category) |
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() |
protected Type |
getType() |
int |
hashCode() |
boolean |
isFinal() |
boolean |
isMember() |
boolean |
isPrimitive() |
String |
toString() |
protected final Type type
public TypeAdapter(Type type)
public Type as(TypeCategory category)
public Type asArrayType()
asArrayType in interface Typepublic Type getComponentType()
getComponentType in interface Typepublic Type getEnclosingType()
getEnclosingType in interface Typepublic TypeCategory getCategory()
getCategory 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 Typeprotected Type getType()
public boolean isPrimitive()
isPrimitive in interface TypeCopyright © 2010–2015 Mysema Ltd. All rights reserved.