TextContentBuilder (Predicate<PsiElement> predicate, ExclusionKind kind) { return new TextContentBuilder(e -> { ExclusionKind prev = this.classifier.apply(e); return prev != null ? prev : predicate.test(e) ? kind : prev; }, indentChars, suffixChars); }