new File(debugLocation).mkdirs(); File file = new File(new File(debugLocation), className + ".class");
new File(debugLocation + File.separatorChar + dirs).getParentFile().mkdirs();  File file = new File(new File(debugLocation), dirs + ".class");
    public byte[] toByteArray() {        byte[] b = super.toByteArray();        if (debugLocation != null) {                        try {                new File(debugLocation).mkdirs();                File file = new File(new File(debugLocation), className + ".class");                OutputStream out = new BufferedOutputStream(new FileOutputStream(file));                try{                  out.write(b);                }finally{                  out.close();                }                                file = new File(new File(debugLocation), className + ".asm");                 out = new BufferedOutputStream(new FileOutputStream(file));                try{                                      ClassReader cr = new ClassReader(b);                  PrintWriter pw = new PrintWriter(new OutputStreamWriter(out));                  TraceClassVisitor tcv = new TraceClassVisitor(null, pw );                  cr.accept(tcv, false);                  pw.flush();                                   }finally{                   out.close();                 }                                                         } catch (IOException e) {                throw new CodeGenerationException(e);            }        }        return b;    }