boolean modified = false;
    private void processFile(File file) throws Exception {        ClassReader r = new ClassReader(new BufferedInputStream(new FileInputStream(file)));        CaptureNameWriter w = new CaptureNameWriter(true);        boolean modified = false;        ClassTransformer t = getClassTransformer();        if (t != null) {            try {                new TransformingGenerator(new ClassReaderGenerator(r, true), t).generateClass(w);                modified = true;            } catch (EarlyExitException e) {            }        }        String name = w.getName();        File outFile = new File(destdir, w.getName() + ".class");        if (modified) {            byte[] b = w.toByteArray();            FileOutputStream fos = new FileOutputStream(outFile);            fos.write(b);            fos.close();        } else {            FILE_UTILS.copyFile(file, outFile);        }    }