On Tue, Nov 24, 2009 at 8:14 AM, Paul Libbrecht <[email protected]> wrote:
> Exactly as I feared. > Line numbers are not going to match I'm afraid. > > oh what a shame :) In fact, the problem is not at IntelliJ or Lombok level, it is at Java level... I wonder why we still have to code getters/setters by default... as usual for Sun standards: someone has to do it by itself and when too many people use it, they are urged to introduce it somewhere as a JSR... and generally worse than the original... concerning line numbers, I have already forgot this IDE feature since I use groovy which also adds lots of things at compilation... our dev IDE are not prepared for this ;)... lets go back to vi! > paul > > > Le 24-nov.-09 à 06:32, Asiri Rathnayake a écrit : > > > As I understood this is not a change to java syntax or anything. > > It's about > > augmenting classes when they are compiled. So at source level they > > do not > > have any getXXX() or setXXX() methods but when compiled lombok does > > it's > > magic and add the methods. I think most of the IDEs use > > compiled .class > > files to determine what a class is capable of (rather than analysing > > the > > source code) but still, there will be a problem if you try to lookup > > those > > methods in the source file. > > > > Am I correct? Anyone who has tried out lombok? > > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

