How To Instantiate a java.util.ArrayList with Generic Class Using Reflection? I am writing a method that sets java.util.List on target object. A target object and a generic
Generics only work at compile time, therefore if you're using reflection, they won't be available.
See more about this here.