One of the generic classes that I'm extending requires that I return a Class object of the correct generic type. I know how to do this for the normal case, but not when my class contains a generic list.
For example, I know how to implement the first method below, but not the second:
public Class<String> getStringKlass() {
return String.class;
}
public Class<List<String>> getStringListKlass() {
???
}