摘要:
开发过程中遇到一个不能直接调用泛型工具类的方法,因此需要通过反射来摆脱直接依赖。 被调用静态方法示例 public class test{ public static <T> T get(Class<T> tClass){ try { return test2.getData(tClass); } 阅读全文
posted @ 2021-12-13 16:11
Fliegend
阅读(509)
评论(0)
推荐(0)
浙公网安备 33010602011771号