@NotNull
  @Contract(pure = true)
  private static String ensureEnds(@NotNull String s, char endsWith) {
    return StringUtilRt.endsWithChar(s, endsWith) ? s : s + endsWith;
  }
@NotNull
  @Contract(pure = true)
  private static String ensureEnds(@NotNull String s, char endsWith)