Open Source ByteCode Libraries in Java
17 projectsApache Commons BCEL (Byte Code Engineering Library) analyzes, creates, and manipulates Java class files. It represents classes as objects with methods, fields, and bytecode instructions, supports reading and writing . class files, and includes the JustIce bytecode verifier.
Javassist (Java Programming Assistant) is a bytecode manipulation library with source-level and bytecode-level APIs. It allows defining new classes at runtime and modifying class files before the JVM loads them. The source-level API lets you edit classes using Java vocabulary and insert bytecode as source fragments that Javassist compiles on the fly.
All-purpose Java bytecode manipulation and analysis framework. It can modify existing classes or generate classes in binary form, with a focus on size and performance; used by OpenJDK, Groovy, Kotlin, Byte Buddy, and Gradle.
Classes to generate, read, write, and print Java bytecode (. class) files; used by Kawa to compile Scheme to bytecode and usable by other languages targeting the JVM.
Bytecode weaver that transforms Java 1. 5 class files into 1. 4-compatible bytecode so applications using generics, enums, and other 1.
A Java library for reading and writing Java class files. It does not provide display of classfile contents or bytecode disassembly, only the read/write API.
High-level API for creating Java class files by calling methods that generate bytecode instead of writing raw bytecode; part of the TeaTrove project.