Project: JDT
Bug 48831 Introduce Factory: doesn't generate needed imports
Reported: 2003-12-16 06:16:37 | Status: resolved fixed

I20031216 + patch Example code: package p1; public class A { public A() { } } package p2; public class B { void foo() { } } Create a factory method for A() in B. B is missing the import to A.

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