@Contract(pure = true)
  public static @NotNull NotNullFunction<String, String> escaper(boolean escapeSlash, @Nullable String additionalChars) {
    return dom -> {
      StringBuilder builder = new StringBuilder(dom.length());
      escapeStringCharacters(dom.length(), dom, additionalChars, escapeSlash, builder);
      return builder.toString();
    };
  }
@Contract(pure = true)
  public static @NotNull NotNullFunction<String, String> escaper(boolean escapeSlash, @Nullable String additionalChars)