[jboss-user] [Javassist] - How to add parameter annotation to new Method ?

Denis Sklyarov do-not-reply at jboss.com
Wed Jul 6 02:25:58 EDT 2011

Denis Sklyarov [http://community.jboss.org/people/fury] created the discussion

"How to add parameter annotation to new Method ?"

To view the discussion, visit: http://community.jboss.org/message/613628#613628


I faced with one case. On my work I got necessity make proxy for class which contain methods with annotatuions. Some methods has parameter annotations, like this:

*public void theGameIsRunning(@Named("test")String test){}*

But I can't find the way to do it with javassist.

Probably someone know how to solve that ?

Thanks, Denis.

Reply to this message by going to Community

Start a new discussion in Javassist at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110706/51212752/attachment.html 

More information about the jboss-user mailing list