[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: UnwrapValueUnitTestCase.testCollectionUnwrap failure on

alesj do-not-reply at jboss.com
Thu Nov 20 08:48:28 EST 2008


What about if we built our own String key?

  | Type type = getType("Integer", Set.class);
  | ParameterizedType pt = ParameterizedType.class.cast(type);
  | System.out.println(pt.getRawType());
  | System.out.println(pt.getOwnerType());
  | System.out.println(Arrays.toString(pt.getActualTypeArguments()));
  | 
  | interface java.util.Set
  | null
  | [class java.lang.Integer]
  | 

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

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



More information about the jboss-dev-forums mailing list