Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsTypeVariables(Type type) |
static boolean |
eq(Object a,
Object b) |
static <T> Class<T> |
getClass(Type type) |
static Class[] |
getClasses(Type[] types) |
static int |
getEnclosedConstructorParametersOffset(Constructor c) |
static Type |
getParent(Type type) |
static Type |
getUniqueParameterizedTypeParameter(Type type) |
static boolean |
isDirect(Buffer b) |
static boolean |
isSignedIntegral(Type tpe) |
static boolean |
parametersComplyToSignature(Object[] values,
Class[] parameterTypes) |
static Object[] |
takeLeft(Object[] array,
int n) |
static Object[] |
takeRight(Object[] array,
int n) |
static String |
toString(Throwable th) |
static String |
toString(Type t) |
public Utils()
public static int getEnclosedConstructorParametersOffset(Constructor c)
public static boolean isSignedIntegral(Type tpe)
public static boolean containsTypeVariables(Type type)
public static Class[] getClasses(Type[] types)
public static Type getUniqueParameterizedTypeParameter(Type type)
public static boolean parametersComplyToSignature(Object[] values, Class[] parameterTypes)
Copyright © 2009-2020. All Rights Reserved.