OutputStream out = new FileOutputStream(new File(new File(debugLocation), className + ".class"));
File file = new File(new File(debugLocation), className + ".class"); System.err.println("CGLIB writing " + file); OutputStream out = new BufferedOutputStream(new FileOutputStream(file));
    public final Class define() {        try {            init();            generate();            postGenerate();            byte[] bytes = backend.getBytes();                                        if (debugLocation != null) {                OutputStream out = new FileOutputStream(new File(new File(debugLocation), className + ".class"));                out.write(bytes);                out.close();            }            Class type = defineClass(className, bytes, classLoader);            postDefine(type);            return type;        } 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);        }    }