ParameterizedType type = (ParameterizedType)this.getClass().getGenericSuperclass();
Type[] actualTypes = type.getActualTypeArguments();
clazz = Class(actualTypes[0]);
2022-10-13 19:43:59
ParameterizedType type = (ParameterizedType)this.getClass().getGenericSuperclass();
Type[] actualTypes = type.getActualTypeArguments();
clazz = Class(actualTypes[0]);