Hi Michael, > Do you have any experience with BCEL? Nope :( But I guess understanding & modifying java byte code is easier than learning how to use BCEL :)
I've read the JVM spec including modifications of JSR-175 (annotation) (http://java.sun.com/docs/books/vmspec/2nd-edition/ClassFileFormat-fi nal-draft.pdf ) right before and made a util class ( attached on this mail ) which read a class file and displays the structure of it. I'm gonna investigate this way more. If I cannot make it, pleas help me out. :p Thanks in advance. Wolfgang. ps) open up the attachment and try the following commands. % javac *.java % java -classpath . ClassViewer XXXXX.class where XXXX.class is the class file you wanna see inside.
