generated named/anon function while object declaration translation — must use the same approach to define generation place as class (continue new class impl, step 2)