Project: JDT
Bug 198698 [Extract Class] Shows wrong class if can not generate getter/setter
Reported: 2007-08-02 11:52:17 | Status: resolved fixed

I20070731-0800 Given: package pack; public class E { public int test; } package pack; public class Test { public void foo() { E name = new E(); name.test = 5; } } 1. Select E 2. Extract Class... 3. Generate Getter/Setter 4. OK Is: Dialog showing 'E' says 'unable to convert node to getter/setter' Should: Dialog showing 'Test' says 'unable to convert 'name.test' to getter/setter'

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractClassRefactoring.java