GROOVY-6091: Explicit use of "delegate" or "getDelegate()" should make use of @DelegatesTo to narrow the inferred type