Also, FYI here are some notes on the Java behind closures in the to-
bytecode or to-Java-source compiler for the Duby language. I like that
they are allowing access to variables inside and outside the closure
and thought others might find it interesting. It is the type of
implementation that would be hell to code which makes me think of
Lombok to make it automatic.
http://kenai.com/projects/duby/pages/DubyBlocks
http://threebrothers.org/brendan/blog/closures-in-java-ruby-and-duby/
Thanks,
McKinley
I've been playing around with the lombok code to implement it by
myself, but as you mentioned it's not as easy as I thought at first.
The method code is generated for some easy cases, but not visible in
the eclipse outline.
--
You received this message because you are subscribed to the Google
Groups group for http://projectlombok.org/
To post to this group, send email to project...@googlegroups.com
To unsubscribe from this group, send email to
project-lombo...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/project-lombok?hl=en