All Methods Static Methods Concrete Methods
| Modifier and Type |
Method and Description |
static List<Class> |
commonAncestors(Class a,
Class b) |
static Class[] |
findClassHierarchy(Class clazz,
Class baseType) |
static TypeName[] |
findClassHierarchy(TypeName clazz,
TypeName baseType) |
static TypeReference[] |
findClassHierarchy(TypeReference clazz,
TypeReference baseType) |
static Class[] |
findClassOnlyHierarchy(Class clazz,
Class baseType) |
static Class |
firstCommonSuperType(Class type1,
Class type2) |
static int |
getAssignationCost(Class parent,
Class child) |
static Object |
getDefaultValue(Class type) |
static <T> PlatformUtils.MethodObject<T> |
getMatchingMethod(PlatformUtils.MethodObject<T>[] available,
Class... parameterTypes) |
static int |
getPlatformType(Class cls) |
static Class[] |
getPrimitiveBoxingTypes() |
static Class[] |
getPrimitiveTypes() |
static String |
getSimpleTypeName(Class clazz) |
static boolean |
isAnyFloatType(Class o) |
static boolean |
isAnyFloatValue(Object o) |
static boolean |
isAnyInteger(String s) |
static boolean |
isAnyIntegerType(Class o) |
static boolean |
isAnyIntegerValue(Object o) |
static boolean |
isAssignableFrom(Class parent,
Class child) |
static boolean |
isBooleanType(Class o) |
static boolean |
isByte(String str) |
static boolean |
isDate(String str,
String format) |
static boolean |
isDateType(Class o) |
static boolean |
isDateValue(Object o) |
static boolean |
isDouble(String str) |
static boolean |
isDoubleFinite(double d)
This is a work around if jdk 8 is not available
|
static boolean |
isDoubleType(Class o) |
static boolean |
isFloat(String str) |
static boolean |
isFloatType(Class o) |
static boolean |
isInt(double d) |
static boolean |
isInteger(double d) |
static boolean |
isInteger(String str) |
static boolean |
isIntegerType(Class o) |
static boolean |
isLong(double d) |
static boolean |
isLong(String str) |
static boolean |
isLongType(Class o) |
static boolean |
isPlatformNumber(Class n) |
static boolean |
isPlatformNumber(Number n) |
static boolean |
isPrimitiveOrBoxed(Class type) |
static boolean |
isShort(String str) |
static boolean |
isSimpleType(Class type) |
static Class |
lowestCommonAncestor(Class a,
Class b) |
static TypeName |
lowestCommonAncestor(TypeName a,
TypeName b) |
static TypeReference |
lowestCommonAncestor(TypeReference a,
TypeReference b) |
static Boolean[] |
toBooleanArray(boolean[] arr) |
static Class |
toBoxingType(Class type) |
static Double[] |
toDoubleArray(double[] arr) |
static Integer[] |
toIntArray(int[] arr) |
static Long[] |
toLongArray(long[] arr) |
static boolean[] |
toPrimitiveBooleanArray(Boolean[] arr) |
static boolean[] |
toPrimitiveBooleanArray(Collection<Boolean> arr) |
static double[] |
toPrimitiveDoubleArray(Collection<Double> arr) |
static double[] |
toPrimitiveDoubleArray(Double[] arr) |
static int[] |
toPrimitiveIntArray(Collection<Integer> arr) |
static int[] |
toPrimitiveIntArray(Integer[] arr) |
static long[] |
toPrimitiveLongArray(Collection<Long> arr) |
static long[] |
toPrimitiveLongArray(Long[] arr) |
static Class |
toPrimitiveType(Class type) |
static Class |
toPrimitiveTypeOrNull(Class type) |
static boolean[] |
toSafePrimitiveBooleanArray(Boolean[] arr) |
static boolean[] |
toSafePrimitiveBooleanArray(Collection<Boolean> arr) |
static double[] |
toSafePrimitiveDoubleArray(Collection<Double> arr) |
static double[] |
toSafePrimitiveDoubleArray(Double[] arr) |
static int[] |
toSafePrimitiveIntArray(Collection<Integer> arr) |
static int[] |
toSafePrimitiveIntArray(Integer[] arr) |
static long[] |
toSafePrimitiveLongArray(Collection<Long> arr) |
static long[] |
toSafePrimitiveLongArray(Long[] arr) |