Hi,
Read the JavaDoc on AnnotationsAttributes at
http://www.csg.is.titech.ac.jp/~chiba/javassist/html/javassist/bytecode/A...
The first snippet gets the annotation from the method. The second snippet adds an
annotation to a class - it's the same process to add an annotation to a method (call
.setAttribute() on the method not the class).
Michael.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149023#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...