class DeltaSpikeProxyContextualLifecycleTransformer {

    private static AgentLogger LOGGER = AgentLogger.getLogger(DeltaSpikeProxyContextualLifecycleTransformer.class);

    /**
     * Register DeltaspikePlugin and add hook to create method to DeltaSpikeProxyContextualLifecycle.
     *
     * @param classPool the class pool
     * @param ctClass   the ctclass
     * @throws CannotCompileException the cannot compile exception
     * @throws NotFoundException      the not found exception
     */
    @OnClassLoadEvent(classNameRegexp = "org.apache.deltaspike.proxy.api.DeltaSpikeProxyContextualLifecycle")
    public static void patchDeltaSpikeProxyContextualLifecycle(ClassPool classPool, CtClass ctClass) throws CannotCompileException, NotFoundException {<FILL_FUNCTION_BODY>}

}

        if (HaCdiCommons.isJakarta(classPool)) {
            return;
        }
        CtMethod methodCreate = ctClass.getDeclaredMethod("create");
        methodCreate.insertAfter(
                "{" +
                    PluginManagerInvoker.buildInitializePlugin(DeltaSpikePlugin.class) +
                    PluginManagerInvoker.buildCallPluginMethod(DeltaSpikePlugin.class, "registerRepoProxy", "$_", "java.lang.Object", "this.targetClass", "java.lang.Class")+
                "}" +
                "return $_;"
        );

        LOGGER.debug("org.apache.deltaspike.proxy.api.DeltaSpikeProxyContextualLifecycle - registration hook added.");
    
<no_super_class>