private static @NotNull LocalQuickFix getLocalQuickFix(@NotNull CommonIntentionAction fix) {
    if (fix instanceof ModCommandAction modCommandAction) {
      return LocalQuickFix.from(modCommandAction);
    }
    LocalQuickFix unwrapped = QuickFixWrapper.unwrap(fix);
    if (unwrapped != null) {
      return unwrapped;
    }
    return (LocalQuickFix)fix;
  }
private static @NotNull LocalQuickFix getLocalQuickFix(@NotNull CommonIntentionAction fix)