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
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it 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