void (@NotNull Project project, @NotNull PsiElement nameIdentifier, @NotNull ModPsiUpdater updater) { final PsiElement constructor = nameIdentifier.getParent(); assert constructor != null; constructor.delete(); }