private static @NotNull IntentionAction getOriginalAction(@NotNull IntentionAction intentionAction) {
    if (intentionAction instanceof IntentionActionWrapper) {
      return ((IntentionActionWrapper)intentionAction).getDelegate();
    }
    return intentionAction;
  }
private static @NotNull IntentionAction getOriginalAction(@NotNull IntentionAction intentionAction)