IntentionHintComponent (@NotNull Project project, @NotNull PsiFile file, @NotNull Editor editor, boolean showExpanded, @NotNull IntentionContainer cachedIntentions) { IntentionHintComponent component = new IntentionHintComponent(project, file, editor, cachedIntentions); if (editor.getSettings().isShowIntentionBulb()) { component.showIntentionHintImpl(!showExpanded); } if (showExpanded) { ApplicationManager.getApplication().invokeLater(() -> { if (!editor.isDisposed() && UIUtil.isShowing(editor.getContentComponent())) { component.showPopup(false); } }, project.getDisposed()); } return component; }