ParameterizedType type = (ParameterizedType)this.getClass().getGenericSuperclass();
Type[] actualTypes = type.getActualTypeArguments();
clazz = Class(actualTypes[0]);

  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-09
  • 2022-02-01
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-14
  • 2021-08-01
  • 2022-12-23
  • 2022-12-23
  • 2021-12-25
  • 2022-12-23
相关资源
相似解决方案