Byte Code Engineering Library


The Byte Code Engineering Library is a project sponsored by the Apache Foundation previously under their Jakarta charter to provide a simple API for decomposing, modifying, and recomposing binary Java classes. The project was conceived and developed by Markus Dahm prior to officially being donated to the Apache Jakarta foundation on 27 October 2001.

Uses

BCEL provides a simple library that exposes the internal aggregate components of a given Java class through its API as object constructs. These objects also expose operations for modifying the binary bytecode, as well as generating new bytecode The BCEL library has been used in several diverse applications, such as: