@NotNull
  private static String unescape(@NotNull String s) {
    final StringBuilder result = new StringBuilder();
    boolean escaped = false;
    for (int i = 0, length = s.length(); i < length; i++) {
      final int c = s.codePointAt(i);
      if (c == '\\' && !escaped) {
        escaped = true;
      }
      else {
        escaped = false;
        result.appendCodePoint(c);
      }
    }
    return result.toString();
  }
@NotNull
  private static String unescape(@NotNull String s)