private void addConvertedToHostInfo(@NotNull HighlightInfo info, @NotNull List<? super HighlightInfo> newInfos) {
    if (HighlightInfoB.isAcceptedByFilters(info, myPsiFile)) {
      if (info.isFromInjection() && myPsiFile.getFileDocument() instanceof DocumentWindow window) {
        addPatchedInfos(info, myPsiFile, window, newInfos);
      }
      else {
        newInfos.add(info);
      }
    }
  }
private void addConvertedToHostInfo(@NotNull HighlightInfo info, @NotNull List<? super HighlightInfo> newInfos)