void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { PsiMethod ctor = PsiTreeUtil.getParentOfType(element, PsiMethod.class); if (ctor != null) { simplify(ctor); } }