@Override
    public @NotNull ModCommand perform(@NotNull ActionContext context) {
      return ModCommand.psiUpdate(context, updater -> {
        for (PsiElement element : ContainerUtil.map(myElements, updater::getWritable)) {
          new CommentTracker().deleteAndRestoreComments(element);
        }
      });
    }
@Override
    public @NotNull ModCommand perform(@NotNull ActionContext context)