void (@NotNull Project project, @NotNull Editor editor, @NotNull PsiFile file, boolean showFeedbackOnEmptyMenu) { CachedIntentions cachedIntentions = calcCachedIntentions(project, editor, file); cachedIntentions.wrapAndUpdateGutters(); if (cachedIntentions.getAllActions().isEmpty()) { showEmptyMenuFeedback(editor, showFeedbackOnEmptyMenu); } else { editor.getScrollingModel().runActionOnScrollingFinished(() -> { IntentionHintComponent.showIntentionHint(project, file, editor, true, cachedIntentions); }); } }