Comments (6)
👤 reinierz 🕗 Aug 28, 2009 at 02:18 UTC
This is a really weird one. For the full report, see this discussion on the googlegroups:
http://groups.google.com/group/project-lombok/browse_thread/thread/b19d602e8123d1e8
from lombok.
👤 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
from lombok.
👤 reinierz 🕗 Sep 01, 2009 at 19:12 UTC
Fixed in commits da36708 and
25e33d0 and 5b16055.
Will be released in v0.8.4.
from lombok.
👤 reinierz 🕗 Sep 01, 2009 at 22:58 UTC
Issue #107 has been merged into this issue.
from lombok.
👤 reinierz 🕗 Oct 16, 2009 at 08:55 UTC
Issue #111 has been merged into this issue.
from lombok.
End of migration
from lombok.
Related Issues (20)
- [FEATURE] finish the job and make generating `@lombok.Generated` default behaviour HOT 1
- Jakarta Generated support HOT 3
- Support extension method autocomplete HOT 2
- [FEATURE] Add more flexibility to declare copyable annotations
- sorry it was mistake
- [BUG] Javadoc generation fails because of @Builder
- [BUG] Delombok fails on unnamed patterns in Java 22 HOT 1
- [BUG] UtilityClass nested in an enum does not work after upgrading to Java 21
- [BUG] @Delegate does not respect --source and --target HOT 1
- [BUG] Installer Throws a Bunch of Errors
- [BUG][REG 1.18.32] A required class was missing while executing org.eclipse.tycho:tycho-compiler-plugin:4.0.7:compile: org/eclipse/jdt/internal/compiler/parser/Parser
- [FEATURE] @FieldNameConstants Easier overwrite for generated fields HOT 2
- @FieldDefaults: Keep the global setting experimental, make the annotation permanent.
- [FEATURE] Allow to easily add interfaces to Builders
- [BUG] Support for Eclipse 2024-06 (4.32) HOT 11
- [FEATURE] Super Constructor
- [FEATURE] enhance @FieldNameConstants with specific prefix string HOT 2
- [BUG] SuperBuilder does not compile then binding generics to an array HOT 5
- [BUG] SaSessionForFastjsonCustomized类中的getModel报错 HOT 1
- [FEATURE] setX() for mutable state, fluent otherwise HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lombok.