void (@NotNull PsiElement element, @NotNull PsiElement original) { Content content = recreateToolWindow(element, original); if (content == null) return; DocumentationComponent component = (DocumentationComponent)content.getComponent(); myUpdateDocAlarm.cancelAllRequests(); doFetchDocInfo(component, new MyCollector(myProject, element, original, null, false, false)) .doWhenDone(() -> component.clearHistory()); }