[jboss-user] [Javassist user questions] - Adding annotations to methods

PaulKeeble do-not-reply at jboss.com
Tue Jun 16 10:49:01 EDT 2009

I want to put my own annotation on a CtMethod. I can only see a getAnnotations method, and equally I can't find a setMethodInfo (which I think could potentially work with AnnotationsWriter).

How do you add an annotation?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237968#4237968

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237968

More information about the jboss-user mailing list