TEMJVM-3: optimize empty colls emission
cache reflection functions