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

SuperBuilder fix for Builder.Default, final, and NonNull fields #1820

Merged
merged 6 commits into from
Aug 27, 2018

Conversation

janrieke
Copy link
Contributor

With this change, @SuperBuilder works also for fields that are final and @Builder.Default. Furthermore, the @NonNull code also checks the default value for != null.
This fixes #1800.

This PR includes PR #1818, so you may want to review/merge #1818 first (or just review/merge this one to have it all).

@ghost
Copy link

ghost commented Aug 20, 2018

Was just about to submit a ticket for this issue. Hope this gets pulled in soon!

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.

SuperBuilder uncompilable with nonnull final fields
2 participants