createTempDeclaration(); } catch (CoreException exception) { JavaPlugin.log(exception);
pm.beginTask(RefactoringCoreMessages.ExtractTempRefactoring_checking_preconditions, 1); try { createTempDeclaration(); } catch (CoreException exception) { JavaPlugin.log(exception); } addReplaceExpressionWithTemp(); } finally { pm.done();
	private TextChange doCreateChange(IProgressMonitor pm) throws CoreException, JavaModelException {		pm.beginTask(RefactoringCoreMessages.ExtractTempRefactoring_checking_preconditions, 1);		JDTRefactoringDescriptor descriptor= createRefactoringDescriptor();		CompilationUnitDescriptorChange result= new CompilationUnitDescriptorChange(descriptor, RefactoringCoreMessages.ExtractTempRefactoring_extract_temp, fCu);		try {			createTempDeclaration();		} catch (CoreException exception) {			JavaPlugin.log(exception);		}		pm.worked(1);		addReplaceExpressionWithTemp();		pm.worked(1);		return result;	}