Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use class TypeReference<T> to pass "List<String>.class" and see it at runtime (same method as for type tokens List<String> arg => f( Integer.class, 5)
- http://gafter.blogspot.com/2006/12/super-type-tokens.html
- https://habr.com/post/66593/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement