Class TypeUtil
java.lang.Object
org.codehaus.groovy.classgen.asm.util.TypeUtil
A utility for getting information of types
- Since:
- 2.5.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ClassautoboxType(Class type) static StringgetDescriptionByName(String name) static Stringstatic intgetLoadInsnByType(org.objectweb.asm.Type type) static intgetReturnInsnByType(org.objectweb.asm.Type type) static StringgetWrappedClassDescriptor(org.objectweb.asm.Type type) static booleanisPrimitiveType(String name) static booleanisPrimitiveType(ClassNode type) static booleanisPrimitiveType(org.objectweb.asm.Type type) 
- 
Constructor Details- 
TypeUtilpublic TypeUtil()
 
- 
- 
Method Details- 
autoboxType
- 
getLoadInsnByTypepublic static int getLoadInsnByType(org.objectweb.asm.Type type) 
- 
getReturnInsnByTypepublic static int getReturnInsnByType(org.objectweb.asm.Type type) 
- 
getWrappedClassDescriptor
- 
isPrimitiveTypepublic static boolean isPrimitiveType(org.objectweb.asm.Type type) 
- 
isPrimitiveType
- 
isPrimitiveType
- 
getDescriptionByType
- 
getDescriptionByName
 
-