result1.addError(getCu().getElementName() + " cannot not be parsed correctly. No references will be updated if you proceed");
result1.addError(getCu().getElementName() + " cannot be parsed correctly. No references will be updated if you proceed");
	public RefactoringStatus checkInput(IProgressMonitor pm) throws JavaModelException {				if (fWillRenameType && (!getCu().isStructureKnown())){			RefactoringStatus result1= new RefactoringStatus();						RefactoringStatus result2= new RefactoringStatus();			result2.merge(Checks.checkCompilationUnitNewName(getCu(), fNewName));			if (result2.hasFatalError())				result1.addError(getCu().getElementName() + " cannot not be parsed correctly.");			else 				result1.addError(getCu().getElementName() + " cannot not be parsed correctly. No references will be updated if you proceed");			result1.merge(result2);					}					if (fWillRenameType)			return fRenameTypeRefactoring.checkInput(pm);		else{			RefactoringStatus result= new RefactoringStatus();			result.merge(Checks.checkCompilationUnitNewName(getCu(), removeFileNameExtension(fNewName)));			return result;		}	}