public static List<SingleVariableDeclaration> cloneParameters(AST ast,List<SingleVariableDeclaration> params,ImportRewrite imports){
  List<SingleVariableDeclaration> newParams=new ArrayList<SingleVariableDeclaration>();
  for (  SingleVariableDeclaration param : params) {
    SingleVariableDeclaration newParam=cloneMethodParameter(ast,param,imports);
    newParams.add(newParam);
  }
  return newParams;
}

public static List < SingleVariableDeclaration > cloneParameters ( AST ast , List < SingleVariableDeclaration > params , ImportRewrite imports ) { List < SingleVariableDeclaration > newParams = new ArrayList < SingleVariableDeclaration > ( ) ; for ( SingleVariableDeclaration param : params ) { SingleVariableDeclaration newParam = cloneMethodParameter ( ast , param , imports ) ; newParams . add ( newParam ) ; } return newParams ; }
clones a method ' s parameter list .
