docs: protected void generateJavaFiles(Iterable<Resource> validatedResources, IProgressMonitor progress) {
  		assert progress != null;
  		progress.subTask(Messages.SarlBatchCompiler_49);
  		getLogger().info(Messages.SarlBatchCompiler_28, getOutputPath());
  		final JavaIoFileSystemAccess javaIoFileSystemAccess = this.javaIoFileSystemAccessProvider.get();
  		javaIoFileSystemAccess.setOutputConfigurations(this.outputConfigurations);
  		// The function configureWorkspace should set the output paths with absolute paths.
  		//javaIoFileSystemAccess.setOutputPath(getOutputPath().getAbsolutePath());
  		javaIoFileSystemAccess.setWriteTrace(isWriteTraceFiles());
  		if (progress.isCanceled()) {
  			return;
  		}
  
  		final GeneratorContext context = new GeneratorContext();
  		context.setCancelIndicator(() -> progress.isCanceled());
  		for (final Resource resource : validatedResources) {
  			if (progress.isCanceled()) {
  				return;
  			}
  			if (getLogger().isDebugEnabled()) {
  				getLogger().debug(Messages.SarlBatchCompiler_23, resource.getURI().lastSegment());
  			}
  			if (isWriteStorageFiles() && resource instanceof StorageAwareResource) {
  				final StorageAwareResource storageAwareResource = (StorageAwareResource) resource;
  				storageAwareResource.getResourceStorageFacade().saveResource(storageAwareResource, javaIoFileSystemAccess);
  			}
  			if (progress.isCanceled()) {
  				return;
  			}
  			this.generator.generate(resource, javaIoFileSystemAccess, context);
  			notifiesCompiledResourceReceiver(resource);
  		}
  	}