void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { final GrIfStatement statement = (GrIfStatement) element.getParent(); assert statement != null; final GrStatement thenBranch = statement.getThenBranch(); replaceStatement(statement, thenBranch); }