I was looking at the @Synchronized annotation of Lombok - I've already said many times that I like the annotation way to enhance the language, so that's good. There's only an obvious problem, that we can't annotate a inner block of code, a thing that would be indeed possible with the synchronized keyword.
So, quick question - wouldn't be possible to fit another small language change for JDK 7 - that is, allowing annotating an inner block of code? Really I'm not a compiler expert, but it sounds not so hard - don't know whether the related reflection API update would be easy or not. But if it was possible, Lombok and similar projects would get another step of flexibility. PS I presume this should have been discussed earlier - I can recall a paper, from many years ago, possibly published by an italian research center (maybe in Pisa), but couldn't find it. -- Fabrizio Giudici - Java Architect, Project Manager Tidalwave s.a.s. - "We make Java work. Everywhere." weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog [email protected] - mobile: +39 348.150.6941 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
