docs: @CheckForNull
      public View getView(@CheckForNull String name) {
          if (name == null) {
              return null;
          }
          //Top level views returned first if match
          List<View> views = views();
          for (View v : views) {
              if (v.getViewName().equals(name)) {
                  return v;
              }
          }
          for (View v : views) {
              //getAllViews() cannot be used as it filters jobs by permission which is bad e.g. when trying to add a new job
              if (v instanceof ViewGroup) {
                  View nestedView = ((ViewGroup) v).getView(name);
                  if (nestedView != null) {
                      return nestedView;
                  }
              }
          }
          if (!name.equals(primaryView())) {
              // Fallback to subview of primary view if it is a ViewGroup
              View pv = getPrimaryView();
              if (pv instanceof ViewGroup)
                  return ((ViewGroup)pv).getView(name);
              if (pv instanceof AllView && AllView.DEFAULT_VIEW_NAME.equals(pv.name)) {
                  // JENKINS-38606: primary view is the default AllView, is somebody using an old link to localized form?
                  for (Locale l : Locale.getAvailableLocales()) {
                      if (name.equals(Messages._Hudson_ViewName().toString(l))) {
                          // why yes they are, let's keep that link working
                          return pv;
                      }
                  }
              }
          }
          return null;
      }