tag:blogger.com,1999:blog-19518284.post3306965452601264220..comments2023-10-17T02:54:21.950-05:00Comments on Kartik Shah: Groovy 1.6 AST Transformation ExampleKartik Shahhttp://www.blogger.com/profile/11830634075001349733noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-19518284.post-40484496667157744602010-02-09T04:05:39.403-06:002010-02-09T04:05:39.403-06:00Hi,
I am trying to test out your code and i don...Hi,<br />I am trying to test out your code and i don't get any output when i execute the following code. Sorry if it was something silly.<br />http://groovyconsole.appspot.com/script/68003CyberManiachttps://www.blogger.com/profile/15391450909798755639noreply@blogger.comtag:blogger.com,1999:blog-19518284.post-21583660134464177672009-07-11T12:14:44.694-05:002009-07-11T12:14:44.694-05:00Antoine,
Interesting question...
Annotation is ...Antoine, <br /><br />Interesting question...<br /><br />Annotation is visible to Java classes, if that is your question. <br /><br />However, I believe the transformation will only be applied to groovy classes.Kartik Shahhttps://www.blogger.com/profile/11830634075001349733noreply@blogger.comtag:blogger.com,1999:blog-19518284.post-33111131925819251222009-07-11T09:50:50.959-05:002009-07-11T09:50:50.959-05:00Hi,
Would the created annotation work with Java me...Hi,<br />Would the created annotation work with Java methods ? I guess this is the case, but I'd rather be sure.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-19518284.post-68181225302960607822009-03-30T09:00:00.000-05:002009-03-30T09:00:00.000-05:00Tim, It throws java.lang.Error assert failed. I be...Tim, <BR/><BR/>It throws java.lang.Error assert failed. <BR/><BR/>I believe you can change visit method to add appropriate exception implementation. e.g. rethrow application exception if you want.Kartik Shahhttps://www.blogger.com/profile/11830634075001349733noreply@blogger.comtag:blogger.com,1999:blog-19518284.post-18347054290507520022009-03-26T19:39:00.000-05:002009-03-26T19:39:00.000-05:00very cool, thanks for sharing!very cool, thanks for sharing!Hamlet D'Arcyhttps://www.blogger.com/profile/04008870357169725586noreply@blogger.comtag:blogger.com,1999:blog-19518284.post-68707242628251673242009-03-26T17:45:00.000-05:002009-03-26T17:45:00.000-05:00What exception is thrown from step #3 at line foo(...What exception is thrown from step #3 at line <B>foo(null)</B>, and can you explicitly specify the exception implementation?Unknownhttps://www.blogger.com/profile/15183147678001687777noreply@blogger.com