[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: TypeInfo.newArrayInstance problems

adrian@jboss.org do-not-reply at jboss.com
Fri Oct 12 11:43:10 EDT 2007


"alesj" wrote : "adrian at jboss.org" wrote : 
  |   | http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Array.html#getLength(java.lang.Object)
  |   | http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Array.html#get(java.lang.Object,%20int)
  |   | 
  |   | The latter method automatically autoboxes the primitives.
  |   | 
  | Yup, was aware of this methods. :-)
  | Only questioned if we should 'hide' them in TypeInfo - only applicable for TypeInfo.isArray == true?
  | Or just ArrayInfo?
  | 

Why? I don't think this is something that javassist could optimize is it?
It's not like a Method or Field invocation
where you generate one class for each method you invoke.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094665#4094665

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094665



More information about the jboss-dev-forums mailing list