int (@NotNull ASTNode child) { LOG.assertTrue(child.getTreeParent() == this); IElementType i = child.getElementType(); if (i == JavaTokenType.COMMA) { return ChildRole.COMMA; } if (i == JavaTokenType.LBRACE) { return ChildRole.LBRACE; } if (i == JavaTokenType.RBRACE) { return ChildRole.RBRACE; } if (MEMBER_SET.contains(child.getElementType())) { return ChildRole.ANNOTATION_VALUE; } return ChildRoleBase.NONE; }