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