Migrated from Google Code (issue 41)
👤 reinierz 🕗 Aug 28, 2009 at 02:18 UTC
This is a really weird one. For the full report, see this discussion on the googlegroups:
👤 reinierz 🕗 Aug 31, 2009 at 22:59 UTC
Preliminary research: It seems that having lombok generate any method with an annotation on the method
itself (whether or not there are (generated) annotations on method parameters is not relevant) will trigger this
bug. So, that would be toString, equals, hashCode (as they also generate an @ Override), but also @ Getter for
a field that has a @ NonNull/@ NotNull/@ Nullable annotation, which gets copied over.
Much likely culprit is that the source positions of these generated annotations are not properly set. Let us pray
that no part of the eclipse backend parser architecture is too stupid to figure it out from the basic AST and
reparses. That's why most of those source positions are 0 in the first place.
Will try to fix this now.
--Roel & Reinier
👤 reinierz 🕗 Sep 01, 2009 at 19:12 UTC
Fixed in commits da36708 and
25e33d0 and 5b16055.
Will be released in v0.8.4.
👤 reinierz 🕗 Sep 01, 2009 at 22:58 UTC
Issue #107 has been merged into this issue.
👤 reinierz 🕗 Oct 16, 2009 at 08:55 UTC
Issue #111 has been merged into this issue.
End of migration