@Override
  public void doCollectInformation(@NotNull ProgressIndicator progress) {
    TemplateState state = TemplateManagerImpl.getTemplateState(myEditor);
    if (state != null && !state.isFinished() || myEditor.isDisposed()) {
      return;
    }
    IntentionsInfo intentionsInfo = new IntentionsInfo();
    getActionsToShow(myEditor, myFile, intentionsInfo, -1, myQueryIntentionActions);
    myCachedIntentions = IntentionsUI.getInstance(myProject).getCachedIntentions(myEditor, myFile);
    myActionsChanged = myCachedIntentions.wrapAndUpdateActions(intentionsInfo, false);
    UnresolvedReferenceQuickFixUpdater.getInstance(myProject).startComputingNextQuickFixes(myFile, myEditor, myVisibleRange);
  }
@Override
  public void doCollectInformation(@NotNull ProgressIndicator progress)