static void waitForAllSessionsHighlightInfosApplied(@NotNull DaemonProgressIndicator progressIndicator) {
    ConcurrentMap<PsiFile, HighlightingSession> map = progressIndicator.getUserData(HIGHLIGHTING_SESSION);
    if (map != null) {
      for (HighlightingSession session : map.values()) {
        ((HighlightingSessionImpl)session).applyFileLevelHighlightsRequests();
      }
    }
  }
static void waitForAllSessionsHighlightInfosApplied(@NotNull DaemonProgressIndicator progressIndicator)