You can't refer to your parent in visitors, and certain nodes expect certain child nodes, which is suddenly an annotation. But you can map annotation children to parents in a pass to transmit it.