docs: private <T> void appendNameList(StringBuffer sb,
                                      java.util.Set<T> resolutions,
                                      String sep) {
          for (T oneRes : resolutions) {
              sb.append(sep).append(oneRes.toString());
              sep = ", ";
          }
      }