void (@NotNull ASTNode child) { final PsiElement element = child.getPsi(); if (element instanceof GrTopStatement) { PsiImplUtil.deleteStatementTail(this, element); } super.deleteChildInternal(child); }