class SpannableBuilder extends SpannableStringBuilder {

    @Override
    public int nextSpanTransition(int start, int limit, Class type) {
        if (isWatcher(type)) {
            type = WatcherWrapper.class;
        }
        return super.nextSpanTransition(start, limit, type);
    }

    @RestrictTo(LIBRARY_GROUP)  SpannableBuilder(@NonNull Class<?> watcherClass);
    @RestrictTo(LIBRARY_GROUP)  SpannableBuilder(@NonNull Class<?> watcherClass, @NonNull CharSequence text);
    @RestrictTo(LIBRARY_GROUP)  SpannableBuilder(@NonNull Class<?> watcherClass, @NonNull CharSequence text, int start,
            int end);

}