@Override
  public void doApplyInformationToEditor() {
    ThreadingAssertions.assertEventDispatchThread();

    CachedIntentions cachedIntentions = myCachedIntentions;
    boolean actionsChanged = myActionsChanged;
    TemplateState state = TemplateManagerImpl.getTemplateState(myEditor);
    if ((state == null || state.isFinished()) && cachedIntentions != null && !myEditor.isDisposed()) {
      IntentionsUI.getInstance(myProject).update(cachedIntentions, actionsChanged);
    }
  }
@Override
  public void doApplyInformationToEditor()