Change change= creator.createChange(); if (change != null) fDelegateChanges.add(change);
	private RefactoringStatus addDelegates() throws JavaModelException, CoreException {		RefactoringStatus status= new RefactoringStatus();		CompilationUnitRewrite rewrite= new CompilationUnitRewrite(fField.getCompilationUnit());		rewrite.setResolveBindings(true);		// add delegate for the field		if (RefactoringAvailabilityTester.isDelegateCreationAvailable(fField)) {			FieldDeclaration fieldDeclaration= ASTNodeSearchUtil.getFieldDeclarationNode(fField, rewrite.getRoot());			if (fieldDeclaration.fragments().size() > 1) {				status.addWarning(Messages.format(RefactoringCoreMessages.DelegateCreator_cannot_create_field_delegate_more_than_one_fragment, fField						.getElementName()), JavaStatusContext.create(fField));			} else if (((VariableDeclarationFragment) fieldDeclaration.fragments().get(0)).getInitializer() == null) {				status.addWarning(Messages.format(RefactoringCoreMessages.DelegateCreator_cannot_create_field_delegate_no_initializer, fField						.getElementName()), JavaStatusContext.create(fField));			} else {				DelegateFieldCreator creator= new DelegateFieldCreator();				creator.setDeclareDeprecated(fDelegateDeprecation);				creator.setDeclaration(fieldDeclaration);				creator.setNewElementName(getNewElementName());				creator.setSourceRewrite(rewrite);				creator.prepareDelegate();				creator.createEdit();				Change change= creator.createChange();				if (change != null)					fDelegateChanges.add(change);			}		}		// add delegates for getter and setter methods		// there may be getters even if the field is static final		if (getGetter() != null && fRenameGetter)			addMethodDelegate(getGetter(), getNewGetterName(), rewrite);		if (getSetter() != null && fRenameSetter)			addMethodDelegate(getSetter(), getNewSetterName(), rewrite);		final CompilationUnitChange change= rewrite.createChange();		if (change != null) {			change.setKeepPreviewEdits(true);			fChangeManager.manage(fField.getCompilationUnit(), change);		}		return status;	}