-
-
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
@Data needs noEqualsAndHashCode/equalsAndHashCode option #171
Comments
👤 vit6ak 🕗 Jan 17, 2010 at 13:36 UTC Maybe you think that following code is a solution:
However, consider these two situations:
So I think that @ Data(noEqualsAndHashCode=true) or |
👤 henri.tremblay 🕗 Mar 28, 2010 at 10:30 UTC I support this idea. In fact I would also add a noToString. Something like: public @ interface Data { Another possibility is to allow Getter and Setter to target the class. Since ToString |
👤 reinierz 🕗 Jul 19, 2010 at 15:03 UTC @ Getter and @ Setter are now capable of targetting the class, as of v0.9.3 which we'll release next. |
👤 vit6ak 🕗 Jul 19, 2010 at 16:23 UTC It is great. The only missing thing is IMHO extracted constructor generation which is discussed in Lombok Ggroups. I have to read the discussion in future. |
👤 r.spilker 🕗 Jul 20, 2010 at 07:50 UTC It's there. See issue #152 |
End of migration |
Migrated from Google Code (issue 98)
The text was updated successfully, but these errors were encountered: