added support to get some more generic fields working as resources,
particularly those declared to use the type parameters ... to go beyond
this requires replicating a bunch of the existing Java reflection
classes