int (@NotNull ASTNode child) { LOG.assertTrue(child.getTreeParent() == this); IElementType i = child.getElementType(); if (i == ASSERT_KEYWORD) { return ChildRole.ASSERT_KEYWORD; } else if (i == COLON) { return ChildRole.COLON; } else if (i == SEMICOLON) { return ChildRole.CLOSING_SEMICOLON; } else { if (EXPRESSION_BIT_SET.contains(child.getElementType())) { int role = getChildRole(child, ChildRole.CONDITION); if (role != ChildRoleBase.NONE) return role; return ChildRole.ASSERT_DESCRIPTION; } return ChildRoleBase.NONE; } }