public static <T> String toCommaSeparatedString(@NotNull List<T> list) {
    StringBuilder builder = new StringBuilder();
    for (T value : list) {
      if (builder.length() > 0) {
        builder.append(",");
      }
      builder.append(value);
    }
    return builder.toString();
  }
public static <T> String toCommaSeparatedString(@NotNull List<T> list)