int (@NotNull ASTNode child) { assert child.getTreeParent() == this : child; IElementType childType = child.getElementType(); if (childType == JavaTokenType.AND) return ChildRole.AMPERSAND_IN_BOUNDS_LIST; if (childType == JavaElementType.JAVA_CODE_REFERENCE) return ChildRole.BASE_CLASS_REFERENCE; return ChildRoleBase.NONE; }