int (@NotNull ASTNode child) { LOG.assertTrue(child.getTreeParent() == this); if (child.getElementType() == JavaElementType.CODE_BLOCK) { return ChildRole.BLOCK; } else { return ChildRoleBase.NONE; } }