im just wondering a bit about the usage of SignatureKey in JavassistMethodInfo. it doesnt
seem to add any vaule that i can see. first of all its only used in the method
JavassistMethodInfo.getName() where the name can be fetched from the CtMethod object
instead.
with a mutable methodinfo it lack even more meaning since the method parameters and name
dont need to be defined when creating the method.
i can understand the usage of SignatureKey in JavassistTypeInfo as it is used as a key for
the maps that hold methods, fields, and constructors.
- even though a better solution would probably to use the signature of the
method/field/constructor as the map key instead of SignatureKey (atleast it would be more
efficient).
please explain the reason of having the SignatureKey in JavassistMethodInfo, and if there
isnt a good reason ill remove it.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210967#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...