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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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