<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>magnoliak</author_name>
  <author_url>https://blog.hatena.ne.jp/magnoliak/</author_url>
  <blog_title>Magnolia Tech</blog_title>
  <blog_url>https://blog.magnolia.tech/</blog_url>
  <categories>
  </categories>
  <description>Scalaでも動的にオブジェクトを生成したいですね、そうですね。 早速リフレクションを使って動的にオブジェクトを生成します。 以下、覚え書き…もう少し効率よくできる気がする。 import scala.reflect.runtime.{universe =&gt; ru} import ru._ case class Person(name: String) object ReflectionTest { def main(args: Array[String]): Unit = { def generate[T](implicit tag: TypeTag[T]): T = { val typeS…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.magnolia.tech%2Fentry%2F2020%2F03%2F29%2F171049&quot; title=&quot;Scalaでリフレクションを使って、与えられた型情報から動的にオブジェクトを生成する - Magnolia Tech&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-03-29 17:10:49</published>
  <title>Scalaでリフレクションを使って、与えられた型情報から動的にオブジェクトを生成する</title>
  <type>rich</type>
  <url>https://blog.magnolia.tech/entry/2020/03/29/171049</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
