JComponent ( @NotNull Project project, @NotNull PsiElement element, @NotNull Disposable disposable ) { DocumentationRequest request; try (AccessToken ignored = SlowOperations.allowSlowOperations(SlowOperations.GENERIC)) { request = ImplKt.documentationRequest(new PsiElementDocumentationTarget(project, element)); // old API fallback } return DocumentationUtil.documentationComponent(project, request, disposable); }