private ProfilingWrapper wrap ( Base object ) { ProfilingWrapper res = new ProfilingWrapper ( context , resource , object ) ; res . cache = cache ; res . engine = engine ; return res ; }
This is a convenient called for