Typically, I’ve seen people use the class literal like this: Class<Foo> cls = Foo.class; But what if the type is generic, e.g. List? ...
-
May 24, 2022
- 0 Comments