void (@NotNull Project project, @NotNull PsiElement modifierElement, @NotNull ModPsiUpdater updater) { PsiElement modifierElementParent = modifierElement.getParent(); if (modifierElementParent instanceof PsiModifierList && modifierElementParent.getParent() instanceof PsiMethod method) { ASTNode node = method.getParameterList().getNode(); if (node != null) { //align method parameters CodeEditUtil.markToReformat(node, true); } } modifierElement.delete(); }