/**
  * Generates a list of files.
  *
  * @param fileList the file list
  * @throws IOException
  * @throws NabuccoGeneratorException
  */
 protected void generateFile(List<File> fileList) throws IOException, NabuccoGeneratorException {
   List<NabuccoFile> nabuccoFileList = new ArrayList<NabuccoFile>();
   for (File file : fileList) {
     nabuccoFileList.add(new NabuccoFile(file));
   }
   NabuccoGenerator generator = new NabuccoGenerator(nabuccoFileList);
   generator.generate();
 }
 /**
  * Generates a single file.
  *
  * @param file the file
  * @throws IOException
  * @throws NabuccoGeneratorException
  */
 protected void generateFile(File file) throws IOException, NabuccoGeneratorException {
   NabuccoFile nabuccoFile = new NabuccoFile(file);
   NabuccoGenerator generator =
       new NabuccoGenerator(nabuccoFile, NabuccoCompilerOptions.getDefaultOptions());
   generator.generate();
 }