boolean (@NotNull TextProblem problem) { TextContent text = problem.getText(); return problem.getHighlightRanges().stream() .anyMatch(r -> Strings.contains(text, Math.max(0, r.getStartOffset() - 1), r.getEndOffset(), '\\')); }