void (@NotNull ASTNode child) { if (child == getBody()) { replaceChildInternal(child, (TreeElement)JavaPsiFacade.getElementFactory(getProject()).createStatementFromText("{}", null)); } else { super.deleteChildInternal(child); } }