[jboss-user] [JBoss Microcontainer Development] New message: "Re: JBREFLECT-5 - Implementing generics in JavassistClassInfo"

Kabir Khan do-not-reply at jboss.com
Mon Mar 15 15:02:35 EDT 2010

User development,

A new message was posted in the thread "JBREFLECT-5 - Implementing generics in JavassistClassInfo":


Author  : Kabir Khan
Profile : http://community.jboss.org/people/kabir.khan@jboss.com

In case I was not clear, if I have
<T extends some.Thing> sig1()
<U extends some.Thing> sig2()
<V extends some.Thing> sig3()
Do I 
1) Use some.Thing's plain TypeInfo
2) Wrap some.Thing's plain TypeInfo with something whose only function really is "pretty-printing", of these
a) Use a separate wrapper for T, U, V etc.
b) Use the wildcard wrapper for them, so we end up with '? extends some.Thing' no matter if we are printing T, U or V
2b kind of seems pointless, and 2a too fine-grained, so maybe I should just go with 1?


To reply to this message visit the message page: http://community.jboss.org/message/532093#532093

More information about the jboss-user mailing list