if (!newCU.exists() && !isLinked && !JavaConventions.validateCompilationUnitName(newCUName).matches(IStatus.ERROR)) {
if (!newCU.exists() && !isLinked && !JavaConventions.validateCompilationUnitName(newCUName, sourceLevel, compliance).matches(IStatus.ERROR)) {
	public static void getWrongTypeNameProposals(IInvocationContext context, IProblemLocation problem, Collection proposals) throws CoreException {		ICompilationUnit cu= context.getCompilationUnit();		boolean isLinked= cu.getResource().isLinked();		IBuffer buffer= cu.getBuffer();		if (buffer == null) {			return;		}					String currTypeName= buffer.getText(problem.getOffset(), problem.getLength());		String newTypeName= JavaCore.removeJavaLikeExtension(cu.getElementName());		if (!JavaConventions.validateJavaTypeName(newTypeName).matches(IStatus.ERROR)) {			proposals.add(new CorrectMainTypeNameProposal(cu, context, currTypeName, newTypeName, 5));		}					String newCUName= JavaModelUtil.getRenamedCUName(cu, currTypeName);		ICompilationUnit newCU= ((IPackageFragment) (cu.getParent())).getCompilationUnit(newCUName);		if (!newCU.exists() && !isLinked && !JavaConventions.validateCompilationUnitName(newCUName).matches(IStatus.ERROR)) {			RenameCompilationUnitChange change= new RenameCompilationUnitChange(cu, newCUName);			// rename CU			String label= Messages.format(CorrectionMessages.ReorgCorrectionsSubProcessor_renamecu_description, newCUName);			proposals.add(new ChangeCorrectionProposal(label, change, 6, JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_RENAME)));		}	}