登录 注册

byte-buddy

去点 Star
AI 应用与 AI Agent网络与基础设施 byte-codedynamic-proxyinstrumentationjavajava-agentjava-library
6,902
Stars
852
Forks
162
Watchers
30
Open Issues
Apache-2.0
许可证
Java
语言
2013-11-25
创建时间
2026-11-10
最近更新

项目能做什么

面向 Java 虚拟机(JVM)的运行时代码生成库
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
Byte Buddy
==========

<a href="https://bytebuddy.net">
<img src="https://raw.githubusercontent.com/raphw/byte-buddy/gh-pages/images/logo-bg.png" alt="Byte Buddy logo" height="180px" align="right" />
</a>

runtime code generation for the Java virtual machine

[![Actions Status](https://github.com/raphw/byte-buddy/workflows/CI/badge.svg)](https://github.com/raphw/byte-buddy/actions)
[![Security Score](https://snyk-widget.herokuapp.com/badge/mvn/net.bytebuddy/byte-buddy/badge.svg)](https://snyk.io/test/github/raphw/byte-buddy)
[![Coverage Status](https://img.shields.io/coveralls/raphw/byte-buddy/master.svg)](https://coveralls.io/r/raphw/byte-buddy?branch=master)
[![Maven Central](https://img.shields.io/maven-central/v/net.bytebuddy/byte-buddy)](https://central.sonatype.com/artifact/net.bytebuddy/byte-buddy)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/6251/badge)](https://bestpractices.coreinfrastructure.org/projects/6251)
[![Reproducible Builds](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/jvm-repo-rebuild/reproducible-central/master/content/net/bytebuddy/badge.json)](https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/net/bytebuddy/README.md)

Byte Buddy is a code generation and manipulation library for creating and modifying Java classes during the runtime of a
Java application and without the help of a compiler. Other than the code generation utilities
that [ship with the Java Class Library](https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Proxy.html), Byte
Buddy allows the creation of arbitrary classes and is not limited to implementing interfaces for the creation of runtime
proxies. Furthermore, Byte Buddy offers a convenient API for changing classes either manually, using a Java agent or
during a build.

Java version compatibility
==========================

The following table lists the minimal versions of Byte Buddy that is required need to support a certain Java 
class file version without experimental support. The oldest supported Java version is Java 5, whereas class files
of any older version can be transformed. As of 1.17.0, support will extend to new Java versions unless previously
unknown class file features are discovered. This is possible through Byte Buddy's support of the Class File API. 

| Byte Buddy version | Supported Java version | Minimum JVM version |
|--------------------|------------------------|---------------------|
| 1.18.7             | 25+                    | 8                   |
| 1.18.7-jdk5        | 25+                    | 5                   |
| 1.17.0             | 25+                    | 5                   |
| 1.15.4             | 24                     | 5                   |
| 1.14.12            | 23                     | 5                   |
| 1.14.8             | 22                     | 5                   |
| 1.14.3             | 21                     | 5                   |
| 1.12.18            | 20     
阅读完整原文

项目深度分析 AI 生成

商业支持与企业级 SLA 保障计划

产品构想针对重度依赖 Byte Buddy 的 APM 厂商或大型企业中间件团队,提供及时的安全更新、新 JDK 迁移支持和专属工单服务。
核心功能高优先级 Bug 修复、JDK 最新 LTS/预览版本专属兼容补丁、架构审查与字节码安全审计
目标用户企业基础架构团队、APM 监控厂商(如监控代理研发公司)
难度/周期高 · 持续运营 · 成本:维护成本极高,需具备深厚的 JVM 与字节码规范攻坚能力
收费模式年度技术支持订阅费 / 商业咨询费
竞争风险个人或小团队公信力不足以与大型企业签订严苛 SLA,通常需要原作者或高声誉专家主导
依据 已验证事实

基于 Byte Buddy 的轻量级动态可观测/热插拔调试工具

产品构想封装 Byte Buddy 底层能力,构建免重启、开箱即用的生产环境诊断与动态日志探针(类似高级 Arthas)商业化 SaaS/产品。
核心功能无入侵动态打点、线上方法耗时与参数捕获、免重启字节码热替换管控面板
目标用户SRE 工程师、Java 后端研发工程师、运维排障人员
难度/周期中等偏高 · 3-6个月 · 成本:前端管控台研发与云端多实例管理服务成本
收费模式按受控 Agent 节点数或 SaaS 订阅按月计费
竞争风险开源替代品较多(如 Arthas、SkyWalking),需做出差异化易用性与安全隔离机制
依据 数据支持的判断

JVM 字节码与 Java Agent 高级实战培训与认证

产品构想面向高级 Java 工程师,提供深度基于 Byte Buddy 开发 APM、Mock 框架与字节码插桩的高客单价培训与企业内训。
核心功能从零编写 APM Agent 体系课程、JVM Class File API 深度剖析、线上踩坑实践与答疑辅导
目标用户中高级 Java 研发人员、技术专家、架构师
难度/周期中等 · 1-2个月 · 成本:课研投入与获客营销成本
收费模式知识付费/技术培训课程销售、企业定制化内训收费
竞争风险受众相对垂直小众,技术壁垒极高导致客群规模有限
依据 AI推测
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

相似项目数据正在完善中,暂不展示(避免误导)

项目优势与风险

技术成熟度创建于 2013-11-25,近 30 天仍在推送,发布过 100 个 Release
社区活跃Star 6,902 / Fork 852 / Issue 30(数据支持,可自行核实)
许可证Apache-2.0
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。