Class TypeUtil
java.lang.Object
org.codehaus.groovy.classgen.asm.util.TypeUtil
A utility for getting information of types
- Since:
- 2.5.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Class
autoboxType
(Class type) static String
getDescriptionByName
(String name) static String
static int
getLoadInsnByType
(org.objectweb.asm.Type type) static int
getReturnInsnByType
(org.objectweb.asm.Type type) static String
getWrappedClassDescriptor
(org.objectweb.asm.Type type) static boolean
isPrimitiveType
(String name) static boolean
isPrimitiveType
(ClassNode type) static boolean
isPrimitiveType
(org.objectweb.asm.Type type)
-
Constructor Details
-
TypeUtil
public TypeUtil()
-
-
Method Details
-
autoboxType
-
getLoadInsnByType
public static int getLoadInsnByType(org.objectweb.asm.Type type) -
getReturnInsnByType
public static int getReturnInsnByType(org.objectweb.asm.Type type) -
getWrappedClassDescriptor
-
isPrimitiveType
public static boolean isPrimitiveType(org.objectweb.asm.Type type) -
isPrimitiveType
-
isPrimitiveType
-
getDescriptionByType
-
getDescriptionByName
-