[jboss-dev] generic collection item type
Adrian
abrock at redhat.com
Fri Jul 27 10:49:48 EDT 2007
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/metatype/src/main/org/jboss/metatype/plugins/types/DefaultMetaTypeFactory.java
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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
More information about the jboss-development
mailing list