private List<JCCompilationUnit> sourcesToParsedFiles(JavaCompiler compiler)
        throws IOException {
        List<JavaFileObject> fileObjects = List.nil();
        for (JavaFileObject jfo : filer.getGeneratedSourceFileObjects() ) {
            fileObjects = fileObjects.prepend(jfo);
        }

       return compiler.parseFiles(fileObjects);
    }