void (@NotNull PsiFile psiFile) { if (!HighlightingFeature.TEXT_BLOCKS.isAvailable(psiFile)) return; psiFile.accept(new JavaRecursiveElementWalkingVisitor() { @Override public void visitLiteralExpression(@NotNull PsiLiteralExpression expression) { if (expression.isTextBlock()) { disableRange(expression.getTextRange(), false); } } }); }