docs: @Nonnull
      public static List<ViewDescriptor> allInstantiable() {
          List<ViewDescriptor> r = new ArrayList<>();
          StaplerRequest request = Stapler.getCurrentRequest();
          if (request == null) {
              throw new IllegalStateException("This method can only be invoked from a stapler request");
          }
          ViewGroup owner = request.findAncestorObject(ViewGroup.class);
          if (owner == null) {
              throw new IllegalStateException("This method can only be invoked from a request with a ViewGroup ancestor");
          }
          for (ViewDescriptor d : DescriptorVisibilityFilter.apply(owner, all())) {
              if (d.isApplicableIn(owner) && d.isInstantiable()
                      && owner.getACL().hasCreatePermission(Jenkins.getAuthentication(), owner, d)) {
                  r.add(d);
              }
          }
          return r;
      }