public class TypeHelper extends Object
Constructor and Description |
---|
TypeHelper() |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
argumentClassIsParameterClass(Class argumentClass,
Class parameterClass)
Realizes an unsharp equal for the class.
|
protected static Class |
getWrapperClass(Class c)
Get wrapper class for a given class.
|
protected static boolean |
isBigDecCategory(Class x) |
protected static boolean |
isDoubleCategory(Class x) |
protected static boolean |
isIntCategory(Class x) |
protected static boolean |
isLongCategory(Class x) |
protected static MethodType |
replaceWithMoreSpecificType(Object[] args,
MethodType callSiteType)
Replaces the types in the callSiteType parameter if more specific types
given through the arguments.
|
protected static Class getWrapperClass(Class c)
protected static boolean argumentClassIsParameterClass(Class argumentClass, Class parameterClass)
protected static MethodType replaceWithMoreSpecificType(Object[] args, MethodType callSiteType)
protected static boolean isIntCategory(Class x)
protected static boolean isLongCategory(Class x)
protected static boolean isBigDecCategory(Class x)
protected static boolean isDoubleCategory(Class x)