proposal= new ASTRewriteCorrectionProposal(label, cu, null, relevance + 100, image);
proposal= new ASTRewriteCorrectionProposal(label, cu, ASTRewrite.create(node.getAST()), relevance + 100, image);
	private static CUCorrectionProposal createTypeRefChangeProposal(ICompilationUnit cu, String fullName, Name node, int relevance) throws CoreException {		NewImportRewrite importRewrite= null;		String simpleName= fullName;		String packName= Signature.getQualifier(fullName);		if (packName.length() > 0) { // no imports for primitive types, type variables			importRewrite= NewImportRewrite.create((CompilationUnit) node.getRoot(), true);			simpleName= importRewrite.addImport(fullName);		}				if (!isLikelyTypeName(simpleName)) {			relevance -= 2;		}		ASTRewriteCorrectionProposal proposal;		if (importRewrite != null && node.isSimpleName() && simpleName.equals(((SimpleName) node).getIdentifier())) { // import only			// import only			String[] arg= { simpleName, packName };			String label= Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_importtype_description, arg);			Image image= JavaPluginImages.get(JavaPluginImages.IMG_OBJS_IMPDECL);			proposal= new ASTRewriteCorrectionProposal(label, cu, null, relevance + 100, image);			proposal.setCommandId(ADD_IMPORT_ID);		} else {			String label;			if (packName.length() == 0) {				label= Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_changetype_nopack_description, simpleName);			} else {				String[] arg= { simpleName, packName };				label= Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_changetype_description, arg);			}			ASTRewrite rewrite= ASTRewrite.create(node.getAST());			rewrite.replace(node, rewrite.createStringPlaceholder(simpleName, ASTNode.SIMPLE_TYPE), null);			Image image= JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_CHANGE);			proposal= new ASTRewriteCorrectionProposal(label, cu, rewrite, relevance, image);		}		if (importRewrite != null) {			proposal.setImportRewrite(importRewrite);		}		return proposal;	}