Community
Participate
Working Groups
Extract the following from ExtractMethodTests: private IPackageFragment getInvalidSelectionPackage() throws JavaModelException { /*]*/if (fInvalidSelectionPackage == null) fInvalidSelectionPackage= getRoot().createPackageFragment("invalidSelection", true, null);/*[*/ return fInvalidSelectionPackage; } protected void extracted() throws org.eclipse.jdt.core.JavaModelException { if (fInvalidSelectionPackage == null) fInvalidSelectionPackage= getRoot().createPackageFragment("invalidSelection", true, null); } Note, that the throw clause has a fully qualified type name. NOTES: DB (30.05.2001 23:31:14) Waiting for answer to 1GEJYAJ: ITPJCORE:WIN2000 - Binding of QualifiedNameReference is null
PRODUCT VERSION: 109
Extract method now adds imports using the new ImportEdit. Fixed in build > 20011207
Verified >20122. JRT.