There was an excellent post by Kohsuke today on java.net that talks
about how to use the java.lang.reflect.Type class to introspect
generics and write code that can handle signatures of List<String> vs.
List<Integer> correctly.

I think this answers the question of how javac, jaxb, and other
utilities handle generics - even though there is type erasure for
backwards compatibility, there is still enough signature in the .class
files to get at this info:

http://weblogs.java.net/blog/kohsuke/archive/2008/12/introspecting_g.html

Very, very cool.
-=- D. J.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to