public final class ClassUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isMutableCollection(java.lang.Object object) |
static boolean |
isMutableMap(java.util.Map object) |
static boolean |
isPrimitive(java.lang.Class<?> aClass) |
static java.lang.Object |
stringToEnum(java.lang.String value,
java.lang.Class<? extends java.lang.Enum<?>> valueClass,
boolean isAlwaysIgnoreCase) |
static java.lang.Class<?> |
typeToClass(java.lang.reflect.Type type) |
public static java.lang.Class<?> typeToClass(java.lang.reflect.Type type)
public static boolean isPrimitive(java.lang.Class<?> aClass)
public static boolean isMutableCollection(java.lang.Object object)
public static boolean isMutableMap(java.util.Map object)
public static java.lang.Object stringToEnum(java.lang.String value, java.lang.Class<? extends java.lang.Enum<?>> valueClass, boolean isAlwaysIgnoreCase)