Re: [picocontainer-dev] Chg 4832 - Generic collections process like arrays do now.

peter royal <[email protected]> Sun, 6 Jul 2008 20:17:32 -0700
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
On Jul 6, 2008, at 2:57 PM, Mauro Talevi wrote:
> Type is more generic and makes more sense in JDK1.5+, because it is  
> the interface that Class implements (so no loss of functionality in  
> refactor) but also has as subtype ParameterizedType - which allows  
> to distinguish genericized params, eg
> List<Object1> from List<Object2>,

yup, that was exactly the goal.. to be able to see a ParameterizedType  
in the CollectionParameter so we can inject List<Foo> just like Foo[]

-pete

-- 
(peter.royal|osi)@pobox.com - http://fotap.org/~osi
smime.p7s (application/pkcs7-signature, 2.4 KB) - not displayed