Class TypeUtil
- java.lang.Object
-
- org.codehaus.groovy.classgen.asm.util.TypeUtil
-
public abstract class TypeUtil extends Object
A utility for getting information of types- Since:
- 2.5.0
-
-
Constructor Summary
Constructors Constructor Description TypeUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClassautoboxType(Class type)static StringgetDescriptionByName(String name)static StringgetDescriptionByType(ClassNode type)static 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)
-
-
-
Method Detail
-
getLoadInsnByType
public static int getLoadInsnByType(org.objectweb.asm.Type type)
-
getReturnInsnByType
public static int getReturnInsnByType(org.objectweb.asm.Type type)
-
getWrappedClassDescriptor
public static String getWrappedClassDescriptor(org.objectweb.asm.Type type)
-
isPrimitiveType
public static boolean isPrimitiveType(org.objectweb.asm.Type type)
-
isPrimitiveType
public static boolean isPrimitiveType(String name)
-
isPrimitiveType
public static boolean isPrimitiveType(ClassNode type)
-
-