public void deleteGeneratedFiles(){
synchronized (generatedFiles) {
    Enumeration<File> enumeration=generatedFiles.elements();
    while (enumeration.hasMoreElements()) {
      File file=enumeration.nextElement();
      file.delete();
    }
    generatedFiles.removeAllElements();
  }
}

public void deleteGeneratedFiles ( ) { synchronized ( generatedFiles ) { Enumeration < File > enumeration = generatedFiles . elements ( ) ; while ( enumeration . hasMoreElements ( ) ) { File file = enumeration . nextElement ( ) ; file . delete ( ) ; } generatedFiles . removeAllElements ( ) ; } }
delete all the generated source files made during the execution of this environment ( those that have been registered with the " addgeneratedfile " method ) .
