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

SetterMustExistRule - Ignore Synthetic Fields #138

Conversation

scampbell5
Copy link

  • Added a check in the SetterMustExistRule to ignore synthetic fields

…tRule.java

Co-authored-by: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com>
@mustaphazorgati
Copy link

@oshoukry can you please have a look at this? This seems to be a little addition which is pretty cool.
As of right now we had to duplicate that class in order to exclude synthetic fields (because we use AspectJ)

@oshoukry
Copy link
Member

rejected this code change as it doesn't exercise the failure due to the fact that the synthetic generated field is already skipped with !final condition. Issue fixed on another checking, see: 23678f8

@oshoukry oshoukry closed this May 16, 2021
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.

3 participants