void (@NotNull AnActionEvent e, boolean state) { ExternalSystemActionsCollector.trigger(getProject(e), getSystemId(e), this, e); List<TaskData> tasks = getTasks(e); if (state) { addTasks(getTaskActivator(e), tasks); } else { removeTasks(getTaskActivator(e), tasks); } }