class PrecomputedTextCompat implements Spannable {

    public @IntRange(from = 0) int getParagraphCount() {
        if (BuildCompat.isAtLeastP()) {
            return mWrapped.getParagraphCount();
        } else {
            return mParagraphEnds.length;
        }
    }

    private  PrecomputedTextCompat(@NonNull CharSequence text, @NonNull Params params,
            @NonNull int[] paraEnds);
    @RequiresApi(28) private  PrecomputedTextCompat(@NonNull PrecomputedText precomputed, @NonNull Params params);

}