Java generics runtime resolver
