Does anyone know a way to rename the getter and setter of a variable when I change the name of it?
The renaming function in eclipse is very useful, but, when I need to rename some variable, after that I need to manually fix the name of the getter and setter.
OK
and you're done.If the prompt doesn't appear, open Preferences->Java and unselect the Rename in editor without dialog
checkbox. Then redo the three steps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With