Project: JDT
Bug 59284 Introduce Factory creates fully qualfied type name
Reported: 2004-04-20 11:58:00 | Status: resolved fixed

20040420 1. do 'Introduce Factory' on OldASTRewrite(ASTNode) in jdt.corext.dom 2. The created factory method is public static OldASTRewrite createOldASTRewrite( org.eclipse.jdt.core.dom.ASTNode node) { return new OldASTRewrite(node); } It should use the import rewriter and not fully qualify the type name

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/Bugzilla/59284/ArgTypeImport.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceFactory/Bugzilla/59284/ArgTypeImport_out.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/IntroduceFactoryTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceFactoryRefactoring.java