JavaPreferencesSettings.getCodeGenerationSettings());
JavaPreferencesSettings.getCodeGenerationSettings(cu.getJavaProject()));
	private void failHelper1(int startLine, int startColumn, int endLine, int endColumn, boolean replaceAll, boolean makeFinal, String tempName, int expectedStatus) throws Exception{		ICompilationUnit cu= createCUfromTestFile(getPackageP(), false, true);		ISourceRange selection= TextRangeUtil.getSelection(cu, startLine, startColumn, endLine, endColumn);		ExtractTempRefactoring ref= ExtractTempRefactoring.create(cu, selection.getOffset(), selection.getLength(), 																									JavaPreferencesSettings.getCodeGenerationSettings());				ref.setReplaceAllOccurrences(replaceAll);		ref.setDeclareFinal(makeFinal);		ref.setTempName(tempName);		RefactoringStatus result= performRefactoring(ref);		assertNotNull("precondition was supposed to fail", result);		assertEquals("status", expectedStatus, result.getSeverity());	}	