"alesj" wrote :
| What does javassist return as CtBehavior::getSignature?
| How does it look like?
| I guess you get the same string even for diff instances of the same
method/field/constructor?
|
yes, using the method signature will create duplicate keys if methods got the same
parameter signature. but using CtBehaviour.getLongName() (which add the class and
methodname to the signature) we will always be sure that we have a unique key. eg for a
method like: Pojo.foo(String), CtBehaviour.getLongName() would return
Pojo.foo(java.lang.String).
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211023#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...