I think it has something to do with type erasure
. I found this article and it looks like instanceof
is a possible solution.
https://wiki.sei.cmu.edu/confluence/plugins/servlet/mobile?contentId=88487555#content/view/88487555
I think it has something to do with type erasure
. I found this article and it looks like instanceof
is a possible solution.
https://wiki.sei.cmu.edu/confluence/plugins/servlet/mobile?contentId=88487555#content/view/88487555