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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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