Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Generics are instructions to the compiler, and reflection works at runtime. When the compiler processes the type parameters, there can be no data from reflection yet. And when reflection starts to work, the types are already erased . These worlds will not meet.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question