Community
Participate
Working Groups
Class data member Refactor --> Rename When I Refactor --> Rename data member of a class. It is getting renamed at all places it is referred. My concern is - getter & setter methods associated with data memebr are not renamed along with data member rename. In general, developer Refactor -> Rename data member & continues w/o knowing that getter & setter need to be regenerated again (with new name). This behaviour is risky in cases, wherein I want to have some logic in getter & setter methods. e.g. whenever marks changes, update percentage and grade like that. getter setter methods associated with data member should be renamed along with data member rename. Thanks, Sujata P Galinde -- Configuration Details -- Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.jee.product) Installed Features: org.eclipse.pde 3.6.1.r361_v20100727-7b7mFL-FET3dhESDgE5_bkJ
Move to JDT/UI
Use the Rename dialog to select the pertaining checkbox: - press Alt+Shift+R again, or - use the menu in the yellow popup, or - disable Preferences > Java > Rename in editor without dialog