Lines 1-19
Link Here
|
1 |
The Byte Code Engineering Library (formerly known as JavaClass) is |
|
|
2 |
intended to give users a convenient possibility to analyze, create, |
3 |
and manipulate (binary) Java class files (those ending with |
4 |
.class). Classes are represented by objects which contain all the |
5 |
symbolic information of the given class: methods, fields and byte code |
6 |
instructions, in particular. |
7 |
|
8 |
Such objects can be read from an existing file, be transformed by a |
9 |
program (e.g. a class loader at run-time) and dumped to a file |
10 |
again. An even more interesting application is the creation of classes |
11 |
from scratch at run-time. The Byte Code Engineering Library (BCEL) may |
12 |
be also useful if you want to learn about the Java Virtual Machine |
13 |
(JVM) and the format of Java .class files. |
14 |
|
15 |
BCEL is already being used successfully in several projects such as |
16 |
compilers, optimizers, obsfuscators and analysis tools, the most |
17 |
popular probably being the Xalan XSLT processor at Apache. |
18 |
|
19 |
WWW: http://jakarta.apache.org/bcel/ |