@Nullable
  public static TaskManager getTaskManager(AnActionEvent event) {
    Project project = getProject(event);
    if (project == null) {
      return null;
    }
    return TaskManager.getManager(project);
  }
@Nullable
  public static TaskManager getTaskManager(AnActionEvent event)