public class Types extends Object
| Constructor and Description |
|---|
Types() |
| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
boxedClass(Class<?> type) |
static Type |
boxedType(Type type)
Gets the boxed type of a class
|
static boolean |
containsUnresolvedTypeVariableOrWildcard(Type type) |
static Type |
getCanonicalType(Class<?> clazz)
Returns a canonical type for a given class.
|
static Type |
getCanonicalType(Type type) |
static String |
getTypeId(Type type) |
public static Type boxedType(Type type)
type - The typepublic static Type getCanonicalType(Class<?> clazz)
ParameterizedType (with unresolved type variables) is resolved.
If the class is an array then the component type of the array is canonicalized
Otherwise, the class is returned.public static boolean containsUnresolvedTypeVariableOrWildcard(Type type)
Copyright © 2012 Seam Framework. All Rights Reserved.