Class TypeUtil
java.lang.Object
org.codehaus.groovy.classgen.asm.util.TypeUtil
public abstract class TypeUtil
extends java.lang.Object
A utility for getting information of types
- Since:
- 2.5.0
- 
Constructor SummaryConstructors Constructor Description TypeUtil()
- 
Method SummaryModifier and Type Method Description static java.lang.ClassautoboxType(java.lang.Class type)static java.lang.StringgetDescriptionByName(java.lang.String name)static java.lang.StringgetDescriptionByType(ClassNode type)static intgetLoadInsnByType(org.objectweb.asm.Type type)static intgetReturnInsnByType(org.objectweb.asm.Type type)static java.lang.StringgetWrappedClassDescriptor(org.objectweb.asm.Type type)static booleanisPrimitiveType(java.lang.String name)static booleanisPrimitiveType(ClassNode type)static booleanisPrimitiveType(org.objectweb.asm.Type type)Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
TypeUtilpublic TypeUtil()
 
- 
- 
Method Details- 
autoboxTypepublic static java.lang.Class autoboxType(java.lang.Class type)
- 
getLoadInsnByTypepublic static int getLoadInsnByType(org.objectweb.asm.Type type)
- 
getReturnInsnByTypepublic static int getReturnInsnByType(org.objectweb.asm.Type type)
- 
getWrappedClassDescriptorpublic static java.lang.String getWrappedClassDescriptor(org.objectweb.asm.Type type)
- 
isPrimitiveTypepublic static boolean isPrimitiveType(org.objectweb.asm.Type type)
- 
isPrimitiveTypepublic static boolean isPrimitiveType(java.lang.String name)
- 
isPrimitiveType
- 
getDescriptionByType
- 
getDescriptionByNamepublic static java.lang.String getDescriptionByName(java.lang.String name)
 
-