Skip to content
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 callSuper to @Data and @Value #69

Closed
wants to merge 1 commit into from

Conversation

lightoze
Copy link

With this patch, @Data(callSuper = true) becomes an equivalent for additional @ToString(callSuper = true) and @EqualsAndHashCode(callSuper = true), because Lombok is about avoiding boilerplate, right?

@rzwitserloot
Copy link
Collaborator

We have a pretty cool idea for how to interop @ToString and super, which will probably end up requiring a separate annotation for it (@SuperToString). If that is the superior solution for calling super, it's really just @EqAHC that needs it / to match the style we might introduce @SuperData or some such. Let's hold off on this until we're more sure about the direction of the @SuperToString plan.

https://github.com/rzwitserloot/lombok/wiki/FEATURE-IDEA:-@SuperToString

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants