private static void appendReversed(@NotNull StringBuilder builder, @NotNull CharSequence sequence) {
    for (int i=sequence.length()-1; i>=0 ;i--) {
      builder.append(sequence.charAt(i));
    }
  }
private static void appendReversed(@NotNull StringBuilder builder, @NotNull CharSequence sequence)