java,generics,parametrized-constructor
if you call getGenericSuperclass() on TplInsuranceDoctor, it fails because its superclass is TplInsurance, which is not a parameterized type. You have to go one step further to get to Generic. For example you can do this : public Generic() { Class class1 = getClass(); Type genericSuperclass = null; for(;;) {...