<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kazuhira</author_name>
  <author_url>https://blog.hatena.ne.jp/Kazuhira/</author_url>
  <blog_title>CLOVER🍀</blog_title>
  <blog_url>https://kazuhira-r.hatenablog.com/</blog_url>
  <categories>
    <anon>Scala</anon>
  </categories>
  <description>ひとつ前のエントリで、コンストラクタ引数をうまく見分けられなかったという話の続き。もうちょっと粘ったらできました。ついでに、Javaの Class.forName(&quot;...&quot;).newInstance(); や Class&lt;?&gt; c = Class.forName(&quot;...&quot;); c.getConstructor(...).newInstance(...); 的な、クラスを型パラメータやClassクラスではなく、文字列としてのクラス名からインスタンスを生成できるようにしてみました。 import scala.reflect.runtime.universe object ScalaReflec…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazuhira-r.hatenablog.com%2Fentry%2F20130121%2F1358780334&quot; title=&quot;Scala Reflectionの続き - CLOVER🍀&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>2013-01-21 23:58:54</published>
  <title>Scala Reflectionの続き</title>
  <type>rich</type>
  <url>https://kazuhira-r.hatenablog.com/entry/20130121/1358780334</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
