class CloudEventBeanBuilder implements BeanBuilder<CloudEvent> {
    public static final CloudEventBeanBuilder instance = new CloudEventBeanBuilder();

    @Override
    public void doBuild(Class<?> clz, BeanWrap bw, CloudEvent anno) throws Exception {<FILL_FUNCTION_BODY>}
}

        if (CloudClient.event() == null) {
            throw new IllegalArgumentException("Missing CloudEventService component");
        }

        if (bw.raw() instanceof CloudEventHandler) {
            CloudManager.register(anno, bw.raw());

            if (CloudClient.event() != null) {
                //支持${xxx}配置
                String topic = Solon.cfg().getByParse(Utils.annoAlias(anno.value(), anno.topic()));
                //支持${xxx}配置
                String group = Solon.cfg().getByParse(anno.group());

                //关注事件
                CloudClient.event().attention(anno.level(), anno.channel(), group, topic, anno.tag(), anno.qos(), bw.raw());
            }
        }
    
<no_super_class>