void (List<SettingsEditorFragment<ApplicationConfiguration, ?>> fragments, SettingsEditorFragment<ApplicationConfiguration, ModuleClasspathCombo> moduleClasspath, CommonParameterFragments<ApplicationConfiguration> commonParameterFragments) { fragments.add(SettingsEditorFragment.createTag("include.provided", ExecutionBundle.message("application.configuration.include.provided.scope"), ExecutionBundle.message("group.java.options"), configuration -> configuration.getOptions().isIncludeProvidedScope(), (configuration, value) -> configuration.getOptions().setIncludeProvidedScope(value))); fragments.add(SettingsEditorFragment.createTag("unnamed.class", ExecutionBundle.message("application.configuration.is.unnamed.class"), ExecutionBundle.message("group.java.options"), configuration -> { return configuration.isUnnamedClassConfiguration(); }, (configuration, value) -> { configuration.setUnnamedClassConfiguration(value); updateMainClassFragment(configuration.isUnnamedClassConfiguration()); })); fragments.add(commonParameterFragments.programArguments()); fragments.add(new TargetPathFragment<>()); fragments.add(commonParameterFragments.createRedirectFragment()); SettingsEditorFragment<ApplicationConfiguration, MainClassPanel> mainClassFragment = createMainClass(moduleClasspath.component()); fragments.add(mainClassFragment); DefaultJreSelector jreSelector = DefaultJreSelector.fromSourceRootsDependencies(moduleClasspath.component(), mainClassFragment.component().getEditorTextField()); SettingsEditorFragment<ApplicationConfiguration, JrePathEditor> jrePath = CommonJavaFragments.createJrePath(jreSelector); fragments.add(jrePath); fragments.add(createShortenClasspath(moduleClasspath.component(), jrePath, true)); }