if (!newCU.exists() && !isLinked) {
if (!newCU.exists() && !isLinked && !JavaConventions.validateCompilationUnitName(newCUName).matches(IStatus.ERROR)) {
	public static void getWrongTypeNameProposals(IInvocationContext context, IProblemLocation problem, Collection proposals) throws CoreException {		String[] args= problem.getProblemArguments();		if (args.length == 2) {			ICompilationUnit cu= context.getCompilationUnit();			boolean isLinked= JavaModelUtil.toOriginal(cu).getResource().isLinked();						// rename type			proposals.add(new CorrectMainTypeNameProposal(cu, args[1], 5));						String newCUName= args[1] + ".java"; //$NON-NLS-1$			ICompilationUnit newCU= ((IPackageFragment) (cu.getParent())).getCompilationUnit(newCUName);			if (!newCU.exists() && !isLinked) {				RenameCompilationUnitChange change= new RenameCompilationUnitChange(cu, newCUName);					// rename cu				String label= CorrectionMessages.getFormattedString("ReorgCorrectionsSubProcessor.renamecu.description", newCUName); //$NON-NLS-1$				proposals.add(new ChangeCorrectionProposal(label, change, 6, JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_RENAME)));			}		}	}