Details
-
New Feature
-
Status: In Progress
-
Minor
-
Resolution: Unresolved
-
1.9.0
Description
// code placeholder public static class UserBehavior { public long userId; public long itemId; public int categoryId; public long timestamp; public List<String> comments; } public static void main(String[] args) throws Exception { PojoTypeInfo<UserBehavior> pojoType = (PojoTypeInfo<UserBehavior>) TypeExtractor.createTypeInfo(UserBehavior.class); }
The filed comments in UserBehavior will be extracted by TypeExtractor to GenericType .
I think it can be extracted to ListTypeInfo .
This would be a big improvement as in many cases classes including List or Map
Attachments
Issue Links
- links to