} else
} else {
	private TextChangeManager createChangeManager(IProgressMonitor pm) throws CoreException{		pm.beginTask("Creating preview", 2);		TextChangeManager manager= new TextChangeManager();		Map typeReferences= createTypeReferencesMapping(new SubProgressMonitor(pm, 1));		Map constructorReferences;		if (isInputTypeStatic()){			constructorReferences= new HashMap(0);			pm.worked(1);		} else			constructorReferences= createConstructorReferencesMapping(new SubProgressMonitor(pm, 1));		ICompilationUnit declaringCu= WorkingCopyUtil.getWorkingCopyIfExists(fType.getCompilationUnit());		for (Iterator iter= getMergedSet(typeReferences.keySet(), constructorReferences.keySet()).iterator(); iter.hasNext();) {			ICompilationUnit processedCu= (ICompilationUnit) iter.next();			ASTRewrite rewrite= createRewrite(typeReferences, constructorReferences, declaringCu, processedCu, false);			if(processedCu.equals(declaringCu)) {					fNewSourceOfInputType= getNewSourceForInputType(processedCu, rewrite);					rewrite= createRewrite(typeReferences, constructorReferences, declaringCu, processedCu, true);			}			addTextEditFromRewrite(manager, processedCu, rewrite);		}		pm.done();		return manager;	}