Re: [picocontainer-dev] JSR330 work progress

Mark Hobson <[email protected]> Wed, 4 Aug 2010 15:29:18 +0100
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
On 4 August 2010 15:13, Paul Hammant <[email protected]> wrote:
> OK, but you know the fragment I showed you is necessary to aid debugging
> right? =A0Anon subclasses of Generic lack clarity when viewed in a debugg=
er.

In the debugger I see the anonymous class name of the form MyClass$1
but the toString is the actual type, e.g.
java.util.List<java.lang.String>

That's just using the new Generic<List<String>>() {} syntax.  What
benefits does Generic.get(generic.getType()) give you?

Mark

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

    http://xircles.codehaus.org/manage_email