String qualifier= importRewrite.addImport(toImport, new ContextSensitiveImportRewriteContext(context.getASTRoot(), offset));
String qualifier= importRewrite.addImport(toImport, new ContextSensitiveImportRewriteContext(context.getASTRoot(), offset, importRewrite));
	private String[] assertImportQualifierAsExpected(ICompilationUnit cu, String toImport, String expectedQualifier) throws JavaModelException {		String buf= cu.getSource();		String selection= "//<-insert";		int offset= buf.indexOf(selection);		int length= 0;		AssistContext context= new AssistContext(cu, offset, length);				NewImportRewrite importRewrite= NewImportRewrite.create(context.getASTRoot(), true);		String qualifier= importRewrite.addImport(toImport, new ContextSensitiveImportRewriteContext(context.getASTRoot(), offset));		assertEquals("Type conflict not detected", expectedQualifier, qualifier);		return importRewrite.getAddedImports();	}