@Nullable
  private ProjectWindowAction findWindowAction(String projectLocation) {
    if (projectLocation == null) {
      return null;
    }
    final AnAction[] children = getChildren(ActionManager.getInstance());
    for (AnAction child : children) {
      if (!(child instanceof ProjectWindowAction windowAction)) {
        continue;
      }
      if (projectLocation.equals(windowAction.getProjectLocation())) {
        return windowAction;
      }
    }
    return null;
  }
@Nullable
  private ProjectWindowAction findWindowAction(String projectLocation)