Skip to content

#232: Do not resolve public setters and public fields for records #233

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

Merged
merged 2 commits into from
Jul 31, 2025
Merged

Conversation

thunderhook
Copy link
Contributor

closes #232

Copy link
Member

@filiphr filiphr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @thunderhook. I don't think that we should change the order of resolving the write accessors, the constructor parameters have the highest precedence (that's why they are in the end) and override the setters / fields.

@filiphr filiphr merged commit 33135b9 into main Jul 31, 2025
13 checks passed
@filiphr filiphr deleted the 232 branch July 31, 2025 21:16
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.

Setters in Java Records should not be recognized
2 participants