docs: protected void generateJvmElements(ResourceSet resourceSet, IProgressMonitor progress) {
  		assert progress != null;
  		progress.subTask(Messages.SarlBatchCompiler_21);
  		getLogger().info(Messages.SarlBatchCompiler_21);
  
  		final List<Resource> originalResources = resourceSet.getResources();
  		final List<Resource> toBeResolved = new ArrayList<>(originalResources.size());
  		for (final Resource resource : originalResources) {
  			if (progress.isCanceled()) {
  				return;
  			}
  			if (isSourceFile(resource)) {
  				toBeResolved.add(resource);
  			}
  		}
  		for (final Resource resource : toBeResolved) {
  			if (progress.isCanceled()) {
  				return;
  			}
  			if (getLogger().isDebugEnabled()) {
  				getLogger().debug(Messages.SarlBatchCompiler_26, resource.getURI().lastSegment());
  			}
  			EcoreUtil.resolveAll(resource);
  			EcoreUtil2.resolveLazyCrossReferences(resource, CancelIndicator.NullImpl);
  		}
  	}