On the
manual page of Apache's BCEL project[
^] there is memorable quote you should take to heart:
"If you want to learn how certain things are generated using BCEL you can do the following: Write your program with the needed features in Java and compile it as usual. Then use BCELifier[^] to create a class that creates that very input class using BCEL.
(Think about this sentence for a while, or just try it ...)
"
If you had read that documentation you'd have found it too. I suspect though that we can not with any reason expect anybody to read such a small document in it's entirety.
Regards,
-MRB