public static Class getClass(String typeStr) {
        Class clazz = ReflectCache.getClassCache(typeStr);
        if (clazz == null) {
            if ("void".equals(typeStr)) {
                clazz = void.class;
            } else if ("boolean".equals(typeStr)) {
                clazz = boolean.class;
            } else if ("byte".equals(typeStr)) {
                clazz = byte.class;
            } else if ("char".equals(typeStr)) {
                clazz = char.class;
            } else if ("double".equals(typeStr)) {
                clazz = double.class;
            } else if ("float".equals(typeStr)) {
                clazz = float.class;
            } else if ("int".equals(typeStr)) {
                clazz = int.class;
            } else if ("long".equals(typeStr)) {
                clazz = long.class;
            } else if ("short".equals(typeStr)) {
                clazz = short.class;
            } else {
                String jvmName = canonicalNameToJvmName(typeStr);
                clazz = ClassUtils.forName(jvmName);
            }
            ReflectCache.putClassCache(typeStr, clazz);
        }
        return clazz;
    }
public static Class getClass ( String typeStr ) { Class clazz = ReflectCache . getClassCache ( typeStr ) ; if ( clazz == null ) { if ( "void" . equals ( typeStr ) ) { clazz = void . class ; } else if ( "boolean" . equals ( typeStr ) ) { clazz = boolean . class ; } else if ( "byte" . equals ( typeStr ) ) { clazz = byte . class ; } else if ( "char" . equals ( typeStr ) ) { clazz = char . class ; } else if ( "double" . equals ( typeStr ) ) { clazz = double . class ; } else if ( "float" . equals ( typeStr ) ) { clazz = float . class ; } else if ( "int" . equals ( typeStr ) ) { clazz = int . class ; } else if ( "long" . equals ( typeStr ) ) { clazz = long . class ; } else if ( "short" . equals ( typeStr ) ) { clazz = short . class ; } else { String jvmName = canonicalNameToJvmName ( typeStr ) ; clazz = ClassUtils . forName ( jvmName ) ; } ReflectCache . putClassCache ( typeStr , clazz ) ; } return clazz ; }
String转Class

@param typeStr 对象描述
@return Class[]