int (@NotNull ASTNode child) { LOG.assertTrue(child.getTreeParent() == this); IElementType i = child.getElementType(); if (i == JavaTokenType.LBRACE) { return getChildRole(child, ChildRole.LBRACE); } else if (i == JavaTokenType.RBRACE) { return getChildRole(child, ChildRole.RBRACE); } else { return ChildRoleBase.NONE; } }