addLinkedPosition(rewrite.track(newParam.getType()), false, "arg_type_" + i); addLinkedPosition(rewrite.track(newParam.getName()), false, "arg_name_" + i);
String groupId= "arg_name_" + i; addLinkedPosition(rewrite.track(newParam.getName()), false, groupId); addLinkedPositionProposal(groupId, paramNames[i], null);  String[] nameProposals= StubUtility.getArgumentNameSuggestions(project, curr, paramNames); for (int k= 0; k < nameProposals.length; k++) { addLinkedPositionProposal(groupId, nameProposals[k], null); }
	protected void addNewParameters(ASTRewrite rewrite, List takenNames, List params) throws CoreException {		AST ast= rewrite.getAST();		ImportRewrite importRewrite= getImportRewrite();		ITypeBinding[] bindings= fMethod.getParameterTypes();		IJavaProject project= getCompilationUnit().getJavaProject();		String[] paramNames= StubUtility.suggestArgumentNames(project, fParamNames);		for (int i= 0; i < bindings.length; i++) {			ITypeBinding curr= bindings[i];			SingleVariableDeclaration newParam= ast.newSingleVariableDeclaration();			newParam.setType(importRewrite.addImport(curr, ast));			newParam.setName(ast.newSimpleName(paramNames[i]));			params.add(newParam);			addLinkedPosition(rewrite.track(newParam.getType()), false, "arg_type_" + i); //$NON-NLS-1$			addLinkedPosition(rewrite.track(newParam.getName()), false, "arg_name_" + i); //$NON-NLS-1$		}	}