Project: JDT
Bug 198792 [Extract Class] Removes qualifier if unable to convert node
Reported: 2007-08-03 06:07:28 | Status: resolved fixed

I20070731-0800 Given: package p; public class E { public int field; } package p; public class Test { public void foo() { E e = new E(); if (e.field ++ > 0) System.out.println(); } } 1. Select E 2. Extract Class 3. Generate Getter/Setters 4. OK 5. Convert even node can not be converted Is: if (.field ++ > 0) Should: if (e.field ++ > 0) Karsten can you try to fix please?

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