int (@NotNull ASTNode child) { IElementType i = child.getElementType(); if (i == JavaTokenType.COMMA) { return ChildRole.COMMA; } else if (i == JavaTokenType.LPARENTH) { return ChildRole.LPARENTH; } else if (i == JavaTokenType.RPARENTH) { return ChildRole.RPARENTH; } else if (ElementType.ANNOTATION_MEMBER_VALUE_BIT_SET.contains(i) || (i == JavaElementType.NAME_VALUE_PAIR && child.getFirstChildNode() != null && child.getFirstChildNode().getElementType() == JavaElementType.ANNOTATION_ARRAY_INITIALIZER)) { return ChildRole.ANNOTATION_VALUE; } else { return ChildRoleBase.NONE; } }