net.sf.cglib.core

## Class TypeUtils

- java.lang.Object
- - net.sf.cglib.core.TypeUtils

-     public class TypeUtils
      extends java.lang.Object

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Type[]` | `add(Type[] types, Type extra)`
    `static Type[]` | `add(Type[] t1, Type[] t2)`
    `static int` | `DCONST(double value)`
    `static java.lang.String` | `emulateClassGetName(Type type)`
    `static java.lang.String` | `escapeType(java.lang.String s)`
    `static int` | `FCONST(float value)`
    `static Type` | `fromInternalName(java.lang.String name)`
    `static Type[]` | `fromInternalNames(java.lang.String[] names)`
    `static Type` | `getBoxedType(Type type)`
    `static java.lang.String` | `getClassName(Type type)`
    `static Type` | `getComponentType(Type type)`
    `static java.lang.String` | `getPackageName(Type type)`
    `static int` | `getStackSize(Type[] types)`
    `static Type` | `getType(java.lang.String className)`
    `static Type[]` | `getTypes(java.lang.Class[] classes)`
    `static Type` | `getUnboxedType(Type type)`
    `static int` | `ICONST(int value)`
    `static boolean` | `isAbstract(int access)`
    `static boolean` | `isArray(Type type)`
    `static boolean` | `isBridge(int access)`
    `static boolean` | `isConstructor(MethodInfo method)`
    `static boolean` | `isFinal(int access)`
    `static boolean` | `isInterface(int access)`
    `static boolean` | `isPrimitive(Type type)`
    `static boolean` | `isPrivate(int access)`
    `static boolean` | `isProtected(int access)`
    `static boolean` | `isPublic(int access)`
    `static boolean` | `isStatic(int access)`
    `static boolean` | `isSynthetic(int access)`
    `static int` | `LCONST(long value)`
    `static int` | `NEWARRAY(Type type)`
    `static Signature` | `parseConstructor(java.lang.String sig)`
    `static Signature` | `parseConstructor(Type[] types)`
    `static Signature` | `parseSignature(java.lang.String s)`
    `static Type` | `parseType(java.lang.String s)`
    `static Type[]` | `parseTypes(java.lang.String s)`
    `static java.lang.String[]` | `toInternalNames(Type[] types)`
    `static java.lang.String` | `upperFirst(java.lang.String s)`

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

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

- - ### Method Detail

    - #### getType

          public static Type getType(java.lang.String className)

    - #### isFinal

          public static boolean isFinal(int access)

    - #### isStatic

          public static boolean isStatic(int access)

    - #### isProtected

          public static boolean isProtected(int access)

    - #### isPublic

          public static boolean isPublic(int access)

    - #### isAbstract

          public static boolean isAbstract(int access)

    - #### isInterface

          public static boolean isInterface(int access)

    - #### isPrivate

          public static boolean isPrivate(int access)

    - #### isSynthetic

          public static boolean isSynthetic(int access)

    - #### isBridge

          public static boolean isBridge(int access)

    - #### getPackageName

          public static java.lang.String getPackageName(Type type)

    - #### upperFirst

          public static java.lang.String upperFirst(java.lang.String s)

    - #### getClassName

          public static java.lang.String getClassName(Type type)

    - #### add

          public static Type[] add(Type[] types,
                   Type extra)

    - #### add

          public static Type[] add(Type[] t1,
                   Type[] t2)

    - #### fromInternalName

          public static Type fromInternalName(java.lang.String name)

    - #### fromInternalNames

          public static Type[] fromInternalNames(java.lang.String[] names)

    - #### getStackSize

          public static int getStackSize(Type[] types)

    - #### toInternalNames

          public static java.lang.String[] toInternalNames(Type[] types)

    - #### parseSignature

          public static Signature parseSignature(java.lang.String s)

    - #### parseType

          public static Type parseType(java.lang.String s)

    - #### parseTypes

          public static Type[] parseTypes(java.lang.String s)

    - #### parseConstructor

          public static Signature parseConstructor(Type[] types)

    - #### parseConstructor

          public static Signature parseConstructor(java.lang.String sig)

    - #### getBoxedType

          public static Type getBoxedType(Type type)

    - #### getUnboxedType

          public static Type getUnboxedType(Type type)

    - #### isArray

          public static boolean isArray(Type type)

    - #### getComponentType

          public static Type getComponentType(Type type)

    - #### isPrimitive

          public static boolean isPrimitive(Type type)

    - #### emulateClassGetName

          public static java.lang.String emulateClassGetName(Type type)

    - #### isConstructor

          public static boolean isConstructor(MethodInfo method)

    - #### getTypes

          public static Type[] getTypes(java.lang.Class[] classes)

    - #### ICONST

          public static int ICONST(int value)

    - #### LCONST

          public static int LCONST(long value)

    - #### FCONST

          public static int FCONST(float value)

    - #### DCONST

          public static int DCONST(double value)

    - #### NEWARRAY

          public static int NEWARRAY(Type type)

    - #### escapeType

          public static java.lang.String escapeType(java.lang.String s)

Copyright (c) 2001 - Apache Software Foundation