# byteCodeConverter **Repository Path**: sid2656/byteCodeConverter ## Basic Information - **Project Name**: byteCodeConverter - **Description**: java字节码转换demo - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2018-02-26 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # byteCodeConverter java字节码转换demo # 工程模块介绍 + test工程:基础pojo,简单调用示例;包含动态代理 + agent工程:javaagent指定的jar的入口文件所在工程 + code工程:三方字节码操作包,以及自定义的配置信息获取工具等 + plugins*工程:插件式增强字节码的处理;plugins和plugins2使用javassist,plugins3使用asm ## 启动工程步骤: + 直接启动test工程中的StartUp,观察动态代理的方式及输出结果; + 配置plugins.config.properties(agent工程中启动的插件选项); + 分别开启plugins、plugins2、plugins3后,执行StartUp中增加配置如下(记得调整路径): > -javaagent:${path}\agent-1.0-SNAPSHOT-jar-with-dependencies.jar