<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>irof</author_name>
  <author_url>https://blog.hatena.ne.jp/irof/</author_url>
  <blog_title>日々常々</blog_title>
  <blog_url>https://irof.hateblo.jp/</blog_url>
  <categories>
    <anon>Groovy</anon>
  </categories>
  <description>class A { String toString() { return &quot;AAA&quot; } } def a = new A(); println a a.metaClass.toString = {return &quot;BBB&quot;} println a println a.toString() toStringを差し替えてみよーってだけなんだけど… 結果 AAA AAA BBB 勝手に呼ばれるのと明示的に呼ぶので挙動が変わる…？</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Firof.hateblo.jp%2Fentry%2F20110702%2Fp2&quot; title=&quot;Groovyの処理の差し替えとtoString - 日々常々&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>2011-07-02 00:00:00</published>
  <title>Groovyの処理の差し替えとtoString</title>
  <type>rich</type>
  <url>https://irof.hateblo.jp/entry/20110702/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
