question: 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 ; }
target:  Clones a method's parameter list.