mercredi 8 mars 2017

Getting generic type information from specific type

Say I have a ParameterizedType with a specific type: Container< Integer >. How can I get from it the non-specific type: Container< E >.

I want to be able to match the type argument ( E ) with its concrete value ( Integer )





Aucun commentaire:

Enregistrer un commentaire