public static @Nullable Project getEventProject(@Nullable AnActionEvent e) {
    return e == null ? null : e.getData(CommonDataKeys.PROJECT);
  }
public static @Nullable Project getEventProject(@Nullable AnActionEvent e)