OutputStream out = new FileOutputStream(debugLocation + name + ".cglib");
OutputStream out = new FileOutputStream(new File(new File(debugLocation), name + ".cglib"));
    public Class define() {        try {            try {                generate();                String name = cg.getClassName();                byte[] bytes = cg.getJavaClass().getBytes();                if (debugLocation != null) {                    OutputStream out = new FileOutputStream(debugLocation + name + ".cglib");                    out.write(bytes);                    out.close();                }                                    PrivilegedAction action = getDefineClassAction(name, bytes, loader);                return (Class)java.security.AccessController.doPrivileged(action);            } catch (InvocationTargetException e) {                throw e.getTargetException();            }        } catch (RuntimeException e) {            throw e;        } catch (Exception e) {            throw new CodeGenerationException(e);        } catch (Error e) {            throw e;        } catch (Throwable t) {            // almost impossible            throw new CodeGenerationException(t);        }    }