JBoss Community

How to add parameter annotation to new Method ?

created by Denis Sklyarov in Javassist - View the full discussion

Hi.

 

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