Quantcast
Channel: Need to refactor field names in eclipse which should change getters/setters as well - Stack Overflow
Viewing all articles
Browse latest Browse all 5

Answer by mantri for Need to refactor field names in eclipse which should change getters/setters as well

$
0
0

Step-1 Go to Package Explorer

Step-2 Move to the field name which is to be renamed

enter image description here

Step-3 Press F2. A rename dialog box will appear

Step-4 Tick mark checkboxes to rename getter and setter too. Click OK.

enter image description here

You're done.


Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>