@Override
  protected @Nullable Presentation getPresentation(@NotNull ActionContext context, @NotNull PsiExpression element) {
    return switch (myExtractSideEffects) {
      case YES -> Presentation.of(JavaBundle.message("intention.family.name.extract.possible.side.effects"));
      case NO -> Presentation.of(JavaBundle.message("intention.family.name.delete.possible.side.effects"));
      case UNSURE -> Presentation.of(CommonQuickFixBundle.message("fix.replace.with.x", myPresentableName));
    };
  }
@Override
  protected @Nullable Presentation getPresentation(@NotNull ActionContext context, @NotNull PsiExpression element)