generate usage of variable declaration for method parameters