You'll have to somehow retain the actual type of `...
# intellij
d
You'll have to somehow retain the actual type of
T
, probably using a
Class<T>
. And no, type erasure is actually quite useful, most of the time. 😉