static void checkIllegalUnicodeEscapes(@NotNull PsiElement element, @NotNull Consumer<? super HighlightInfo.Builder> errorSink) {
    parseUnicodeEscapes(element.getText(), (start, end) -> {
      int offset = element.getTextOffset();
      errorSink.accept(HighlightInfo.newHighlightInfo(HighlightInfoType.ERROR)
        .range(offset + start, offset + end)
        .descriptionAndTooltip(JavaErrorBundle.message("illegal.unicode.escape")));
    });
  }
static void checkIllegalUnicodeEscapes(@NotNull PsiElement element, @NotNull Consumer<? super HighlightInfo.Builder> errorSink)