All Methods Static Methods Concrete Methods
Modifier and Type |
Method and Description |
static boolean |
areCompatible(Class<?> target,
Class<?> source) |
static boolean |
areEquals(Type target,
Class<?> clazz) |
static boolean |
areEquals(Type target,
Type clazz) |
static Type |
getComponentTypeOfListOrArray(Type outType) |
static Type[] |
getGenericParameterForClass(Type type,
Class<?> interfaceClass) |
static Tuple2<Type,Type> |
getKeyValueTypeOfMap(Type outType) |
static Type[] |
getParamTypesForInterface(Class<?> target,
Class<?> inter) |
static <T> Map<TypeVariable<?>,Type> |
getTypesMap(Type targetType,
Class<T> targetClass) |
static boolean |
isArray(Type outType) |
static boolean |
isAssignable(Class<?> class1,
Type from) |
static boolean |
isAssignable(Type type,
Type from) |
static boolean |
isClass(Type outType,
Class<?> class1) |
static boolean |
isEnum(Type target) |
static boolean |
isJavaLang(Type target) |
static boolean |
isNumber(Type target) |
static boolean |
isPrimitive(Type type) |
static Type |
resolveTypeVariable(Type type,
TypeVariable t) |
static Class<?> |
toBoxedClass(Class<?> target) |
static Class<?> |
toBoxedClass(Type type) |
static <T> Class<T> |
toClass(Type target) |
static Class<?> |
wrap(Class<?> target) |
static Class<?> |
wrap(Type type) |