void (@NotNull KotlinRunConfiguration configuration) { commonProgramParameters.applyTo(configuration); moduleSelector.applyTo(configuration); String className = mainClass.getComponent().getText(); PsiClass aClass = moduleSelector.findClass(className); configuration.setRunClass(aClass != null ? JavaExecutionUtil.getRuntimeQualifiedName(aClass) : className); configuration.setAlternativeJrePath(jrePathEditor.getJrePathOrName()); configuration.setAlternativeJrePathEnabled(jrePathEditor.isAlternativeJreSelected()); configuration.setShortenCommandLine(shortenClasspathModeCombo.getComponent().getSelectedItem()); }