Yes. Ales asked the same question a couple of months ago,
but this example wasn't committed then.
See generateCollection() here:
http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/meta...
which defaults to java.lang.Object if it is not generic.
On Fri, 2007-07-27 at 12:52 +0200, Alexey Loubyansky wrote:
Is there a way to find out the item type of a generic collection at
runtime using introspection or org.jboss.reflect?
Thanks,
Alexey
_______________________________________________
jboss-development mailing list
jboss-development(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development --
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx