On 10/01/2013, at 2:14 PM, Guillaume Laforge wrote:

> Hi Luke,
> 
> On Thu, Jan 10, 2013 at 3:04 PM, Luke Daley <[email protected]> wrote:
> [...]
> >       • @DelegatesTo annotation: to help IDEs and the static type checker 
> > and compiler to know that method calls in a method parameter closure are 
> > delegated to another parameter of the method -- nice for DSLs like in 
> > Gradle build files
> 
> Is there any possibility of getting this backported to the 1.x line?
> 
> We can't upgrade to Groovy 2 until Gradle 2 because of the breaking binary 
> incompatibilities, and other backwards incompatible changes.
> 
> We could partially backport it, in the sense that we would "just" add the 
> annotation to the 1.8 line, but we wouldn't add the static type checking and 
> compilation support since that was only available starting from 2.0.
> 
> But the annotation is really just an annotation in the end, hence good for 
> documentation purpose and for IDE support (pending Eclipse and IntelliJ IDEA 
> support that hint)

Indeed, and it would also improve the Javadoc.

>  
> [...]
> 
> 
> -- 
> Guillaume Laforge
> Groovy Project Manager
> SpringSource, a division of VMware
> 
> Blog: http://glaforge.appspot.com/
> Social: @glaforge / Google+

-- 
Luke Daley
Principal Engineer, Gradleware 
http://gradleware.com


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to