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, 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. In order to use Byte Buddy, one does not require an understanding of Java byte code or the class file format. In contrast, Byte Buddy's API aims for code that is concise and easy to understand for everybody. Nevertheless, Byte Buddy remains fully customizable down to the possibility of defining custom byte code. Furthermore, the API was designed to be as non-intrusive as possible and as a result, Byte Buddy does not leave any trace in the classes that were created by it.

Features

  • Byte Buddy is written in Java 5 but supports the generation of classes for any Java version
  • Byte Buddy is a light-weight library
  • Only depends on the visitor API of the Java byte code parser library ASM
  • Byte Buddy is an attempt to innovate the runtime creation of Java types
  • Byte Buddy offers excellent performance at production quality
  • It is stable and in use by distinguished frameworks and tools such as Mockito, Hibernate, etc.

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Byte Buddy

Byte Buddy Web Site

Other Useful Business Software
Zenflow- The AI Workflow Engine for Software Devs Icon
Zenflow- The AI Workflow Engine for Software Devs

Parallel agents. Multi-agent orchestration. Specs that turn into shipped code. Zenflow automates planning, coding, testing, and verification.

Zenflow is the AI workflow engine built for real teams. Parallel agents plan, code, test, and verify in one workflow. With spec-driven development and deep context, Zenflow turns requirements into production-ready output so teams ship faster and stay in flow.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Byte Buddy!

Additional Project Details

Operating Systems

Windows

Programming Language

Java

Related Categories

Java Virtual Machine Software, Java Runtimes

Registered

2021-11-25