void (@NotNull final AnActionEvent e) { Project project = e.getProject(); if (project == null) project = ProjectManager.getInstance().getDefaultProject(); SeverityEditorDialog.show(project, myChosen, mySeverityRegistrar, true, severity -> { setChosen(severity); onChosen(severity); }); }