@NotNull
  private static List<ProjectSystemId> getSystemIds(@NotNull AnActionEvent e) {
    List<ProjectSystemId> systemIds = new ArrayList<>();
    ProjectSystemId externalSystemId = e.getData(ExternalSystemDataKeys.EXTERNAL_SYSTEM_ID);
    if (externalSystemId == null) {
      ExternalSystemManager.EP_NAME.forEachExtensionSafe(manager -> systemIds.add(manager.getSystemId()));
    }
    else {
      systemIds.add(externalSystemId);
    }
    return systemIds;
  }
@NotNull
  private static List<ProjectSystemId> getSystemIds(@NotNull AnActionEvent e)