Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 12006

Summary: Rename instance variable refactoring could be smarter[refactoring]
Product: [Eclipse Project] JDT Reporter: Erich Gamma <erich_gamma>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P4 CC: akiezun
Version: 2.0Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Erich Gamma CLA 2002-03-21 05:22:02 EST
consider
public class A  {
   int foo;
   void m(int bla) {
      foo= 1;
   }

rename the instance variable from foo -> bla
we properly warn the user, but we could avoid
the ambiguity by inserting "this":
    void m(int bla) {
      this.foo= 1;
    }

These cases are rare in particular when using the fPrefix convention, but it 
would be smart.
Comment 1 Adam Kiezun CLA 2002-03-21 05:34:35 EST
not 2.0
Comment 2 Adam Kiezun CLA 2003-04-25 10:40:41 EDT
reopeing to move to inbox
Comment 3 Adam Kiezun CLA 2003-04-25 10:41:12 EDT
no action planned without external contribution
Comment 4 Adam Kiezun CLA 2003-04-25 10:41:33 EDT
bugzilla!
Comment 5 Dirk Baeumer CLA 2003-05-08 06:06:38 EDT
As said, no action planned without external help
Comment 6 Denis Roy CLA 2009-08-30 02:22:28 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.