else Checks.checkCompileErrorsInAffectedFile(result, fField.getResource());
	public RefactoringStatus checkFinalConditions(IProgressMonitor pm, CheckConditionsContext context) throws CoreException {		try{			pm.beginTask("", 18); //$NON-NLS-1$			pm.setTaskName(RefactoringCoreMessages.getString("RenameFieldRefactoring.checking")); //$NON-NLS-1$			RefactoringStatus result= new RefactoringStatus();			result.merge(Checks.checkIfCuBroken(fField));			if (result.hasFatalError())				return result;			result.merge(checkNewElementName(getNewElementName()));			pm.worked(1);			result.merge(checkEnclosingHierarchy());			pm.worked(1);			result.merge(checkNestedHierarchy(fField.getDeclaringType()));			pm.worked(1);						if (fUpdateReferences){				pm.setTaskName(RefactoringCoreMessages.getString("RenameFieldRefactoring.searching"));	 //$NON-NLS-1$				fReferences= getReferences(new SubProgressMonitor(pm, 3), result);				pm.setTaskName(RefactoringCoreMessages.getString("RenameFieldRefactoring.checking")); //$NON-NLS-1$			} else {				fReferences= new SearchResultGroup[0];				pm.worked(3);			}							if (fUpdateReferences)				result.merge(analyzeAffectedCompilationUnits());							if (getGetter() != null && fRenameGetter){				result.merge(checkAccessor(new SubProgressMonitor(pm, 1), getGetter(), getNewGetterName()));				result.merge(Checks.checkIfConstructorName(getGetter(), getNewGetterName(), fField.getDeclaringType().getElementName()));			} else {				pm.worked(1);			}							if (getSetter() != null && fRenameSetter){				result.merge(checkAccessor(new SubProgressMonitor(pm, 1), getSetter(), getNewSetterName()));				result.merge(Checks.checkIfConstructorName(getSetter(), getNewSetterName(), fField.getDeclaringType().getElementName()));			} else {				pm.worked(1);			}						result.merge(createChanges(new SubProgressMonitor(pm, 10)));			if (result.hasFatalError())				return result;						ValidateEditChecker checker= (ValidateEditChecker)context.getChecker(ValidateEditChecker.class);			checker.addFiles(getAllFilesToModify());			return result;		} finally{			pm.done();		}	}