public static char @NotNull [] fromSequence(@NotNull CharSequence seq) {
    char[] underlying = fromSequenceWithoutCopying(seq);
    return underlying != null ? underlying.clone() : fromSequence(seq, 0, seq.length());
  }
public static char @NotNull [] fromSequence(@NotNull CharSequence seq)