tag:blogger.com,1999:blog-2648073517459434852.post1718516828749224041..comments2024-01-10T08:12:30.187+00:00Comments on G's Blog: Project lombok, interesting bean shortcuts with the annotation processorGerard Davisonhttp://www.blogger.com/profile/16521924431312439170noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-2648073517459434852.post-88642224610998881342009-09-28T14:38:45.598+01:002009-09-28T14:38:45.598+01:00Jambay,
Thanks, just listening to it now I am bac...Jambay,<br /><br />Thanks, just listening to it now I am back from my holiday...<br /><br />GerardGerard Davisonhttps://www.blogger.com/profile/16521924431312439170noreply@blogger.comtag:blogger.com,1999:blog-2648073517459434852.post-29737784385584931302009-09-28T05:30:09.427+01:002009-09-28T05:30:09.427+01:00Gerard, if you haven't listened yet, you might...Gerard, if you haven't listened yet, you might enjoy the Java Posse discussion of Lamboch.<br />http://www.javaposse.com/index.php?post_id=529403jambayhttps://www.blogger.com/profile/00073860735750984341noreply@blogger.comtag:blogger.com,1999:blog-2648073517459434852.post-4051634414314478412009-09-17T17:02:45.934+01:002009-09-17T17:02:45.934+01:00Hey,
No the internal java model doesn't use j...Hey,<br /><br />No the internal java model doesn't use javac. It just defaults to reading .class files as the source of truth which is useful in this case.<br /><br />If you "clean" the project you get the nasty read underlining back as it has to fall back to using source files instead. I think I was just lucky that it works this way.<br /><br />GerardGerard Davisonhttps://www.blogger.com/profile/16521924431312439170noreply@blogger.comtag:blogger.com,1999:blog-2648073517459434852.post-8039470807624990012009-09-17T16:53:52.969+01:002009-09-17T16:53:52.969+01:00Huh - that's a amazing. The big 3 (Eclipse, Ne...Huh - that's a amazing. The big 3 (Eclipse, Netbeans, IntelliJ IDEA) never look at class files if they also have source files, and never invoke annotation processors when parsing source files for e.g. method names, so lombok is hopeless on all three without plugins (like we have for eclipse).<br /><br />Do you happen to know if JDeveloper's internal parser (which it is evidently using to figure out if a method call to a local method should be underlined with: "Method doesn't exist", as you're running into with lombok's generated getters) is javac-based? If so, fixing that aspect of it with an agent shouldn't be to too much effort.<br /><br /> --Reinier Zwitserloot (project lombok co-author)Reinier Zwitserloothttps://www.blogger.com/profile/02743449554705742364noreply@blogger.com