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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
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