GROOVY-6956: Align @DelegatesTo with @ClosureParams with regards to generics type handling
Documentation for GROOVY-6956