[jboss-user] [Javassist user questions] - Removing annotations

lobbin do-not-reply at jboss.com
Mon Oct 29 09:30:21 EDT 2007


Hi,

Currently I'm using CtNewMethod.copy to copy a method. However, I want to remove certain annotations if they exist on the copied method.

I've found the getAnnotations() for getting the annotations, but I've seen no obvious way to remove one.

Any hints?

Thanks :)

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

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



More information about the jboss-user mailing list