Practically Groovy, The @Delegate annotation
Exploring the frontiers of duck typing in a statically typed language
From the developerWorks archives
Date archived: May 14, 2019 | First published: August 25, 2009
Scott Davis continues the discussion about Groovy metaprogramming with an in-depth look at
@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.