Hi, Read the JavaDoc on AnnotationsAttributes at http://www.csg.is.titech.ac.jp/~chiba/javassist/html/javassist/bytecode/AnnotationsAttribute.html
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#4149023 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149023 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user