<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>int128</author_name>
  <author_url>https://blog.hatena.ne.jp/int128/</author_url>
  <blog_title>GeekFactory</blog_title>
  <blog_url>https://int128.hatenablog.com/</blog_url>
  <categories>
    <anon>groovy</anon>
  </categories>
  <description>想定通りでした。インスタンスのmeta classにクラスをmix inした場合は、そのインスタンスのみに影響します。 class X { def x() { 100 } } class Y { def y() { 200 } } def x1 = new X() x1.metaClass.mixin Y println x1.x() // -&gt; 100 println x1.y() // -&gt; 200 def x2 = new X() println x2.x() // -&gt; 100 println x2.y() // -&gt; groovy.lang.MissingMethodExceptio…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fint128.hatenablog.com%2Fentry%2F2014%2F04%2F10%2F005912&quot; title=&quot;meta classにmix inした場合の影響範囲 - GeekFactory&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>2014-04-10 00:59:12</published>
  <title>meta classにmix inした場合の影響範囲</title>
  <type>rich</type>
  <url>https://int128.hatenablog.com/entry/2014/04/10/005912</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
