I just had a discussion with Flavia (JBossAOP), following up the discussion started by Heiko in TheCore regarding generic collection component type, whether something is assignable or not ...
She informed me that she went an extra mile, and wrote the isAssignableFrom completely based on the Type (http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html) interface.
Since this is a generic work, which definitely belongs to Container module, and not just to AOP, I guess we can change our TypeInfo.isAssignableFrom to her implementation:
As the stuff is far from trivial, a bunch of tests were also written:
If we also pitch in some sort of caching, this should nicely fit in into slowly removing the deprecated getType method.
btw: great work Flavia!!