<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>泛型 on 极客老墨</title>
    <link>https://blog.hankmo.com/tags/%E6%B3%9B%E5%9E%8B/</link>
    <description>Recent content in 泛型 on 极客老墨</description>
    <generator>Hugo -- 0.138.0</generator>
    <language>zh-cn</language>
    <lastBuildDate>Mon, 15 Nov 2021 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://blog.hankmo.com/tags/%E6%B3%9B%E5%9E%8B/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Java反射之获取泛型类定义的具体类型</title>
      <link>https://blog.hankmo.com/posts/tech/generic-actualtype/</link>
      <pubDate>Mon, 15 Nov 2021 00:00:00 +0000</pubDate>
      <guid>https://blog.hankmo.com/posts/tech/generic-actualtype/</guid>
      <description>很多时候，我们需要获取到泛型类上定义的具体类型，从而完成一些业务逻辑。比如，最常见的情景就是JSON的反序列化，需要将JSON字符串反序列化为泛型的具体类型，比如反序列化为 `List&amp;lt;User&amp;gt;`，这就要求每一个 `List` 中的元素都是 `User` 对象。那么，如何获取到泛型类上定义的具体类型呢？这就是本文要阐述的内容。</description>
    </item>
  </channel>
</rss>
