[rev=Peter] use declared attribute value in @DelegatesTo's target attribute