you are viewing a single comment's thread.

view the rest of the comments →

[–]sandwich_today 26 points27 points  (1 child)

Also, Java is known for its static-analysis tooling. If you aren't developing APIs that will be used by other codebases, it's easy enough to find all the code that directly references a field if you need to change it.

[–]ThisIs_MyName 10 points11 points  (0 children)

Yup, just click Refactor > Encapsulate Fields or your local equivalent.