Refactor -> Push Members Down issue (#9779)
When I use pushing down method, that uses private fields, IDEA does not replace them with getters/setters, even if they are available. Also, no warning is given.
Is it intended behaviour?
Please sign in to leave a comment.
Surely not. IDEA should show a warning. Please file a JIRA issue, I'll vote
for it (like for other refactoring bugs).
Tom
Here it is: http://www.jetbrains.net/jira/browse/IDEA-22511
This issue also applies to private methods.
How about offering to encapsulate private fields or use existing accessors?