Closed pholser closed 5 years ago
Hello!
It's my bad.. I did not face such cases myself, and so this part remains not updated for a long time.. I indeed loose type information there. The same problem with constructor contexts.
I was preparing new 3.1.0 version with a lot of changes.. but it's not ready now for publication (I did not check everything). So instead, I will release 3.0.1 hotfix (hopefully today).
New version is released, but only in jcenter because central's nexus is dying since yesterday. New version will appear in central as soon as it will become responsible.
Finally, central accept publication. Version will appear soon.
Hello, thanks again for your magnificent work.
I'm using generics-resolver 3.0.0 in junit-quickcheck, and am trying to resolve an issue with it that a user raised.
Given this class:
junit-quickcheck will do something like this to resolve the variables to some type:
I was hoping that type variable
X
would be associated with a parameterized typeHashMap<Character, Integer>
. Instead it's associated with thejava.lang.Class
object forjava.util.HashMap
.Am I doing something incorrect? Can I accomplish what I want using generics-resolver?