Fixed KT-5315 J2K: Generate local var when parameter is being assigned

 #KT-5315 Fixed