-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add @ConstructorProperties to generated constructor #195
Comments
👤 jonathancrosmer@hotmail.com 🕗 May 19, 2010 at 14:46 UTC @ ConstructorProperties is a new annotation in Java 6. The most obvious use of this annotation is that it enables XmlEncoder The constructor generated by @ Data should automatically add this @ Data ...becomes... class Point { |
👤 r.spilker 🕗 May 20, 2010 at 08:47 UTC Thanks, Jonathan, for submitting this feature request. Looks like a great addition to |
👤 r.spilker 🕗 May 20, 2010 at 08:48 UTC |
👤 reinierz 🕗 Jul 19, 2010 at 21:50 UTC We've added this feature to 0.9.3 (Burrowing Whale)! There's still the issue that such a file won't compile on java 1.5, as @ ConstructorProperties is new in java 1.6. It can be suppressed with @ RequiredArgsConstructor(suppressConstructorProperties=true), though we've already deprecated that feature as we intend to remove it once 1.5 fades into the limelight. Done in commit 5c6fe62 Leaving this issue open until we update the web docs |
👤 reinierz 🕗 Jul 20, 2010 at 05:43 UTC Docs have been updated in aaf8547 |
End of migration |
Migrated from Google Code (issue 122)
The text was updated successfully, but these errors were encountered: