[jboss-user] [Javassist user questions] - Re: Altering Generics Information of Methods using Javassist

2008-05-25 Thread Ugn
I'am interested in reading return and parameter types like Collection . With your suggestion it does not work for me. I just get somer annotations an thats it. If I work with mthod.getReturnType() i get Collection but not Collection. Does someone have an idea how to solve this problem? View

[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=bb&op=viewtopic&p=4150443#4150443 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150443 ___ jboss-user mai

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

2008-05-05 Thread Ugn
Firstly hello everybody! I am very new to javassist and am trying to write a class / function, which implements an interface which is passed to it. So its something like MyInterfac p = ImplFactory.implement(MyInterface.class); What i need is to annotate the field of the implemented class with a