Project: JDT
Bug 23705 extract interface: incorrect interface created when extracted methods use the extracted interface
Reported: 2002-09-18 09:23:50 | Status: resolved fixed

package p; class A { public void m(A foo) { foo.m(foo); } } package p; public class As { void r(A foo) { A local= null; foo.m(local); } }

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ExtractInterfaceTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractInterfaceRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/UseSupertypeWherePossibleUtil.java