Re: [picocontainer-dev] JSR330 work progress

Mark Hobson <[email protected]> Wed, 4 Aug 2010 16:35:06 +0100
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
On 4 August 2010 16:18, Kent R. Spillner <[email protected]> wrote:
> Hey, dude-
>
> Thanks for the references!
>
>> Type type =3D new Generic<List<String>>() {};
>>
>> The inner class nature of this means that the super class has
>> Generic<List<String>> preserved in the bytecode. =A0a convenient
>> getter allows us to extract that -> List<String> and Pico can
>> use that for registration and lookup.
>
> Wow, that's disgusting... :)

Yep!  Read more about it here:
http://gafter.blogspot.com/2006/12/super-type-tokens.html

Mark

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email