I am using Eclipse (Mars) and have a public static configuration variable called by a number of different clients/java classes. I want to make this public static variable private and replace references to it with getters/setters.
I know how to automatically generate getters and setters for a variable in Eclipse, but what it doesn't do is replace all the calls to this variable with the getter/setter method just created.
My question is if there some way to do this automatically in Eclipse? I am also curious if other IDE's support this type of refactoring.