@Override
  public @NotNull IntentionAction getDelegate() {
    if (instance == null) {
      CommonIntentionAction base = extension.getInstance();
      instance = base instanceof IntentionAction action ? action :
                 base.asIntention();
    }
    return instance;
  }
@Override
  public @NotNull IntentionAction getDelegate()