class CacheServiceWrapConsumer implements Consumer<BeanWrap> {
    @Override
    public void accept(BeanWrap bw) {<FILL_FUNCTION_BODY>}
}

        if (Utils.isEmpty(bw.name())) {
            CacheLib.cacheServiceAdd("", bw.raw());
        } else {
            CacheLib.cacheServiceAddIfAbsent(bw.name(), bw.raw());

            if (bw.typed()) {
                CacheLib.cacheServiceAdd("", bw.raw());
            }
        }
    
<no_super_class>