result.addEntry(JavaRefactorings.createStatusEntry(problem, newCuSource));
result.addEntry(new RefactoringStatusEntry((problem.isError() ? RefactoringStatus.ERROR : RefactoringStatus.WARNING), problem.getMessage(), new JavaStringStatusContext(newCuSource, new SourceRange(problem))));
	private RefactoringStatus checkCompilationofDeclaringCu() throws CoreException {		ICompilationUnit cu= getCu();		TextChange change= fChangeManager.get(cu);		String newCuSource= change.getPreviewContent(new NullProgressMonitor());		CompilationUnit newCUNode= new RefactoringASTParser(AST.JLS3).parse(newCuSource, cu, true, null);		IProblem[] problems= RefactoringAnalyzeUtil.getIntroducedCompileProblems(newCUNode, fBaseCuRewrite.getRoot());		RefactoringStatus result= new RefactoringStatus();		for (int i= 0; i < problems.length; i++) {			IProblem problem= problems[i];			if (shouldReport(problem))				result.addEntry(JavaRefactorings.createStatusEntry(problem, newCuSource));		}		return result;	}