public class Type extends Object implements Comparable<Type>
| Constructor and Description |
|---|
Type(String name) |
Type(String packageName,
String name,
Type elementType,
boolean isEnumType,
boolean isCollectionType,
boolean isIterableType) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Type o) |
boolean |
equals(Object obj) |
static Type |
forClass(Class<?> clazz) |
Type |
getCollectionImplementationType() |
Type |
getElementType() |
String |
getFullyQualifiedName() |
Type |
getIterableImplementationType() |
String |
getName() |
String |
getPackageName() |
int |
hashCode() |
boolean |
isCollectionType() |
boolean |
isEnumType() |
boolean |
isIterableType() |
boolean |
isPrimitive() |
String |
toString() |
public Type(String name)
public String getPackageName()
public String getName()
public Type getElementType()
public boolean isPrimitive()
public boolean isEnumType()
public Type getCollectionImplementationType()
public Type getIterableImplementationType()
public boolean isCollectionType()
public boolean isIterableType()
public String getFullyQualifiedName()
public int compareTo(Type o)
compareTo in interface Comparable<Type>Copyright © 2012-2013. All Rights Reserved.