@Override
  public @Nullable Presentation getPresentation(@NotNull ActionContext context) {
    if (!BaseIntentionAction.canModify(context.file())) return null;
    return getConstructorOrClass(context.findLeaf()) != null
           ? Presentation.of(getFamilyName()).withIcon(AllIcons.Actions.RefactoringBulb)
           : null;
  }
@Override
  public @Nullable Presentation getPresentation(@NotNull ActionContext context)