[jboss-user] [Javassist user questions] - Re: how to annotate a field

2008-05-13 Thread Ugn
ok thank you very much this works for me View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4150443#4150443 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4150443 ___ jboss-user mailing

[jboss-user] [Javassist user questions] - Re: how to annotate a field

2008-05-07 Thread parkinm
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