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