org.codehaus.groovy.classgen.asm.util

## 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 and Description
    `TypeUtil()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Class` | `autoboxType(Class type)`
    `static String` | `getDescriptionByName(String name)`
    `static String` | `getDescriptionByType(ClassNode type)`
    `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(ClassNode type)`
    `static boolean` | `isPrimitiveType(String name)`
    `static boolean` | `isPrimitiveType(org.objectweb.asm.Type type)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TypeUtil

          public TypeUtil()

  - ### Method Detail

    - #### autoboxType

          public static Class autoboxType(Class type)

    - #### 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)

    - #### getDescriptionByType

          public static String getDescriptionByType(ClassNode type)

    - #### getDescriptionByName

          public static String getDescriptionByName(String name)