SingleVariableDeclaration oldParam= (SingleVariableDeclaration)oldMethod.parameters().get(i); SingleVariableDeclaration newParam= createPlaceholderForSingleVariableDeclaration(oldParam, cu, targetRewrite);
SingleVariableDeclaration newParam= null; SingleVariableDeclaration oldParam= (SingleVariableDeclaration) oldMethod.parameters().get(i); if (mapping.length > 0) newParam= createPlaceholderForSingleVariableDeclaration(oldParam, cu, mapping, targetRewrite); else newParam= createPlaceholderForSingleVariableDeclaration(oldParam, cu, targetRewrite);
	private static void copyParameters(OldASTRewrite targetRewrite, ICompilationUnit cu, MethodDeclaration oldMethod, MethodDeclaration newMethod) throws JavaModelException {		for (int i= 0, n= oldMethod.parameters().size(); i < n; i++) {			SingleVariableDeclaration oldParam= (SingleVariableDeclaration)oldMethod.parameters().get(i);			SingleVariableDeclaration newParam= createPlaceholderForSingleVariableDeclaration(oldParam, cu, targetRewrite);			newMethod.parameters().add(i, newParam);		}	}