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