void () { reportWarningsCheckBox.setSelected(!commonCompilerArguments.getSuppressWarnings()); if (jpsPluginSettings != null) { setSelectedItem(kotlinJpsPluginVersionComboBox, defaultJpsVersionItem); } setSelectedItem(languageVersionComboBox, KotlinFacetSettingsKt.getLanguageVersionView(commonCompilerArguments)); onLanguageLevelChanged((VersionView) languageVersionComboBox.getSelectedItem()); // getSelectedLanguageVersionView() replaces null setSelectedItem(apiVersionComboBox, KotlinFacetSettingsKt.getApiVersionView(commonCompilerArguments)); additionalArgsOptionsField.setText(compilerSettings.getAdditionalArguments()); scriptTemplatesField.setText(compilerSettings.getScriptTemplates()); scriptTemplatesClasspathField.setText(compilerSettings.getScriptTemplatesClasspath()); copyRuntimeFilesCheckBox.setSelected(compilerSettings.getCopyJsLibraryFiles()); outputDirectory.setText(compilerSettings.getOutputDirectoryForJsLibraryFiles()); if (compilerWorkspaceSettings != null) { enableIncrementalCompilationForJvmCheckBox.setSelected(compilerWorkspaceSettings.getPreciseIncrementalEnabled()); enableIncrementalCompilationForJsCheckBox.setSelected(compilerWorkspaceSettings.getIncrementalCompilationForJsEnabled()); keepAliveCheckBox.setSelected(compilerWorkspaceSettings.getEnableDaemon()); } generateSourceMapsCheckBox.setSelected(k2jsCompilerArguments.getSourceMap()); outputPrefixFile.setText(k2jsCompilerArguments.getOutputPrefix()); outputPostfixFile.setText(k2jsCompilerArguments.getOutputPostfix()); moduleKindComboBox.setSelectedItem(getModuleKindOrDefault(k2jsCompilerArguments.getModuleKind())); sourceMapPrefix.setText(k2jsCompilerArguments.getSourceMapPrefix()); sourceMapPrefix.setEnabled(k2jsCompilerArguments.getSourceMap()); sourceMapEmbedSources.setSelectedItem(getSourceMapSourceEmbeddingOrDefault(k2jsCompilerArguments.getSourceMapEmbedSources())); jvmVersionComboBox.setSelectedItem(getJvmVersionOrDefault(k2jvmCompilerArguments.getJvmTarget())); }