Project: JDT
Bug 99963 [extract local] on generic 'this' needs type arguments
Reported: 2005-06-14 10:17:35 | Status: resolved fixed

I20050610-1757 (3.1RC2) Extract Local Variable, Extract Method and Introduce Parameter don't add type arguments when extracting 'this' of a generic type: Select 'this' in the class below => the type is always just MyArrayList. Expected: MyArrayList<E>. class MyArrayList<E> extends ArrayList<E> { void inspect() { for (Iterator<E> iter= this.iterator(); iter.hasNext();) { iter.next(); } } }

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test99_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test99_out.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ExtractTempTests.java