poohbar
11/29/2017, 1:18 PMdiesieben07
11/29/2017, 1:22 PMClass alone is not enough in some cases, as you might use the type parameter to create an anonymous inner class with that type parameter (i.e. when constructing a TypeToken from guava), which then requires the full type, not just the raw class. Another point is that Class is JVM specific.poohbar
11/29/2017, 2:35 PM