That's true. BCEL or other similar tool are harder to use. Maybe
someone should come up with tool to generated "pseudo assembly" in
these tools from a compiled class files. That could be useful.
Or even better an on-the-fly java compiler that takes source code from
an
input stream and compiles it in-memory, without ever writing the
sources or
the generated byte code to a file.
I guess my wish came true first. There is a program called BCELifier in
org.apache.bcel.util package that takes a class as input and generates
a Creator that can be used to created the class at runtime.
David
|