if (configuration.uriToFileMatcher != null && configuration.uriToFileReplace == null)
configuration.setInvalid(URI_TO_FILE_MATCHER_PREFIX + " found without " + URI_TO_FILE_REPLACE_PREFIX);
if (configuration.uriToFileMatcher == null && configuration.uriToFileReplace != null)
configuration.setInvalid(URI_TO_FILE_REPLACE_PREFIX + " found without " + URI_TO_FILE_MATCHER_PREFIX);
if (configuration.uriToFileMatcher != null)
configuration.uriFileTranslator = new UriFileTranslatorReg(configuration.uriToFileMatcher, configuration.uriToFileReplace);
configuration.compilerEnvirons.setLanguageVersion(configuration.JSVersion);
return configuration;
}