docs: public static List<SettingsResult> getSettingsResults(Result r) {
      if(r instanceof SettingsResult) {
        List<SettingsResult> ors = new ArrayList<>(1);
        ors.add((SettingsResult) r);
        return ors;
      }
      if(r instanceof HierarchicalResult) {
        return ResultUtil.filterResults(((HierarchicalResult) r).getHierarchy(), r, SettingsResult.class);
      }
      return Collections.emptyList();
    }