@Override
  public void collectActions(@NotNull Editor hostEditor,
                             @NotNull PsiFile hostFile,
                             ShowIntentionsPass.@NotNull IntentionsInfo intentions,
                             int passIdToShowIntentionsFor,
                             int offset) {
    Project project = hostEditor.getProject();
    if (project == null) return;
    TextEditor fileEditor = TextEditorProvider.getInstance().getTextEditor(hostEditor);
    List<IntentionActionWithOptions> actions = EditorNotifications.getInstance(project).getStoredFileLevelIntentions(fileEditor);
    for (IntentionActionWithOptions action : actions) {
      intentions.notificationActionsToShow.add(new HighlightInfo.IntentionActionDescriptor(
        action, action.getOptions(), null, null, null, null, null));
    }
  }
@Override
  public void collectActions(@NotNull Editor hostEditor,
                             @NotNull PsiFile hostFile,
                             ShowIntentionsPass.@NotNull IntentionsInfo intentions,
                             int passIdToShowIntentionsFor,
                             int offset)