docs: @CheckForNull
      public static hudson.model.Item getItemOf(@Nonnull SubTask t) {
          Queue.Task p = t.getOwnerTask();
          while (!(p instanceof hudson.model.Item)) {
              Queue.Task o = p.getOwnerTask();
              if (o == p) {
                  break;
              }
              p = o;
          }
          return p instanceof hudson.model.Item ? (hudson.model.Item)p : null;
      }