JpsEncodingProjectConfiguration (@NotNull JpsProject project, @Nullable String projectEncoding, @NotNull Map<String, String> urlToEncoding) { JpsEncodingProjectConfigurationImpl configuration = new JpsEncodingProjectConfigurationImpl(urlToEncoding, projectEncoding); return project.getContainer().setChild(JpsEncodingProjectConfigurationImpl.ROLE, configuration); }