StringBuffer buffer= new StringBuffer(imports.addImport(params[i].getElementType()));
StringBuffer buffer= new StringBuffer(newImports.addImport(params[i].getElementType(), context));
	private static List createParameters(ICompilationUnit unit, ImportRewrite imports, AST ast, IMethodBinding binding, MethodDeclaration decl) {		List parameters= decl.parameters();		ITypeBinding[] params= binding.getParameterTypes();		String[] paramNames= suggestArgumentNames(unit.getJavaProject(), binding);		for (int i= 0; i < params.length; i++) {			SingleVariableDeclaration var= ast.newSingleVariableDeclaration();			if (binding.isVarargs() && params[i].isArray() && i == params.length - 1) {				StringBuffer buffer= new StringBuffer(imports.addImport(params[i].getElementType()));				for (int dim= 1; dim < params[i].getDimensions(); dim++)					buffer.append("[]"); //$NON-NLS-1$				var.setType(ASTNodeFactory.newType(ast, buffer.toString()));				var.setVarargs(true);			} else				var.setType(imports.addImport(params[i], ast));			var.setName(ast.newSimpleName(paramNames[i]));			parameters.add(var);		}		return parameters;	}