void (@NotNull AnActionEvent e) { Project project = getEventProject(e); if (project != null) { LocalTaskImpl task = (LocalTaskImpl)TaskManager.getManager(project).getActiveTask(); new EditTaskDialog(project, task).show(); } }