Package org.codehaus.groovy.vmplugin.v7
Class TypeHelper
- java.lang.Object
- 
- org.codehaus.groovy.vmplugin.v7.TypeHelper
 
- 
 @Deprecated public class TypeHelper extends Object Deprecated.This class contains helper methods for converting and comparing types. WARNING: This class is for internal use only. do not use it outside of its package and not outside groovy-core.
- 
- 
Constructor SummaryConstructors Constructor Description TypeHelper()Deprecated.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected static booleanargumentClassIsParameterClass(Class<?> argumentClass, Class<?> parameterClass)Deprecated.Realizes an unsharp equal for the class.protected static Class<?>getWrapperClass(Class<?> c)Deprecated.Get wrapper class for a given class.protected static booleanisBigDecCategory(Class<?> x)Deprecated.protected static booleanisDoubleCategory(Class<?> x)Deprecated.protected static booleanisIntCategory(Class<?> x)Deprecated.protected static booleanisLongCategory(Class<?> x)Deprecated.protected static MethodTypereplaceWithMoreSpecificType(Object[] args, MethodType callSiteType)Deprecated.Replaces the types in the callSiteType parameter if more specific types given through the arguments.
 
- 
- 
- 
Method Detail- 
getWrapperClassprotected static Class<?> getWrapperClass(Class<?> c) Deprecated.Get wrapper class for a given class. If the class is for a primitive number type, then the wrapper class will be returned. If it is no primitive number type, we return the class itself.
 - 
argumentClassIsParameterClassprotected static boolean argumentClassIsParameterClass(Class<?> argumentClass, Class<?> parameterClass) Deprecated.Realizes an unsharp equal for the class. In general we return true if the provided arguments are the same. But we will also return true if our argument class is a wrapper for the parameter class. For example the parameter is an int and the argument class is a wrapper.
 - 
replaceWithMoreSpecificTypeprotected static MethodType replaceWithMoreSpecificType(Object[] args, MethodType callSiteType) Deprecated.Replaces the types in the callSiteType parameter if more specific types given through the arguments. This is in general the case, unless the argument is null.
 - 
isIntCategoryprotected static boolean isIntCategory(Class<?> x) Deprecated.
 - 
isLongCategoryprotected static boolean isLongCategory(Class<?> x) Deprecated.
 - 
isBigDecCategoryprotected static boolean isBigDecCategory(Class<?> x) Deprecated.
 - 
isDoubleCategoryprotected static boolean isDoubleCategory(Class<?> x) Deprecated.
 
- 
 
-