void (@NotNull AnActionEvent e) { final Project project = e.getProject(); if (project == null || project.isDisposed()) { return; } RunnerAndConfigurationSettings selectedConfiguration = getSelectedConfiguration(e); if (selectedConfiguration != null) { run(project, selectedConfiguration, e.getDataContext()); } else if (RunConfigurationsComboBoxAction.hasRunCurrentFileItem(project)) { runCurrentFile(e); } }