void (@NotNull AnActionEvent e) { Presentation presentation = e.getPresentation(); if (e.getProject() == null || !RunConfigurationsComboBoxAction.hasRunCurrentFileItem(e.getProject())) { presentation.setEnabledAndVisible(false); return; } super.update(e); }