Practically Groovy, The @Delegate annotation

Exploring the frontiers of duck typing in a statically typed language

From the developerWorks archives

Scott Davis

Date archived: April 19, 2017 | First published: August 25, 2009

Scott Davis continues the discussion about Groovy metaprogramming with an in-depth look at the @Delegate annotation, which blurs the distinctions between data type and behavior and static and dynamic typing.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some content, steps, or illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Java development
ArticleID=422930
ArticleTitle=Practically Groovy: The @Delegate annotation
publish-date=08252009