Project: JDT
Bug 138318 [clean up] Qualify static field accesses qualifies with type parameters
Reported: 2006-04-25 05:56:35 | Status: resolved fixed

N20060423-0010 Given: public class E<I> { private static int F; public void foo() { Runnable runnable = new Runnable() { public void run() { System.out.println(F); } }; } } Source->Clean Up->Qualify static field accesses Is: System.out.println(E<I>.F); Should: System.out.println(E.F); Same for methodes.

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CodeStyleFix.java