Bug 308936 - Unable to refactor reference of field variables in an Interface
Summary: Unable to refactor reference of field variables in an Interface
Status: VERIFIED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 enhancement with 1 vote (vote)
Target Milestone: 3.6 M7   Edit
Assignee: Satyam Kandula CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-12 17:17 EDT by Marimuthu Ponnambalam CLA
Modified: 2010-04-26 13:07 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marimuthu Ponnambalam CLA 2010-04-12 17:17:42 EDT
Build Identifier: 20100204-0846

Changing the name of a variable in an interface to refactor its references in other classes are not available.

An option Like Change method signature to refactor variables in an interface would be huge productivity gain.

Also refactoring references of public variables in a class/interface would also be more appropriate in many cases.

Reproducible: Always

Steps to Reproduce:
1. Create a static variable in a class A
2. Use the static variable in class B
3. Retry to refactor it, there is no way refactor its references in class B
Comment 1 Satyam Kandula CLA 2010-04-13 00:46:00 EDT
Selecting the variable and clicking on Refactor->Rename should work in this particular case. Make sure that you do an enter after you give the new name. If that doesn't work, please give the testcase.
Comment 2 Marimuthu Ponnambalam CLA 2010-04-20 17:48:48 EDT
Worked as suggested. But not initutive as first fast glimpse.
Comment 3 Frederic Fusier CLA 2010-04-26 13:07:42 EDT
Verified for 3.6M7