sdcuike / jannocessor

Automatically exported from code.google.com/p/jannocessor
Other
2 stars 0 forks source link

New.type(Class<?> type, Class<?>... typeParams) ignores typeParams argument #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Is there a way to create parametrized JavaType such as Collection<String>?

New.type(Class<?> type, Class<?>... typeParams) just ignores typeParams. 

Original issue reported on code.google.com by ora...@gmail.com on 1 Apr 2013 at 6:50

GoogleCodeExporter commented 9 years ago
I found how to create Collection<Datatype> using:
New.type(Collection.class.getCanonicalName() + "<" + 
paramA.getType().getSimpleName() + ">")

Thanks

Original comment by ora...@gmail.com on 1 Apr 2013 at 7:57