@Override
  protected @NotNull Presentation getPresentation(@NotNull ActionContext context, @NotNull PsiMethod method) {
    return switch (myDeleteCalled) {
      case UNSURE -> Presentation.of(JavaBundle.message("intention.name.delete.method", method.getName()));
      case YES -> Presentation.of(JavaBundle.message("intention.name.delete.method.with.callees"));
      case NO -> Presentation.of(JavaBundle.message("intention.name.delete.method.only"));
    };
  }
@Override
  protected @NotNull Presentation getPresentation(@NotNull ActionContext context, @NotNull PsiMethod method)