<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mike_neck</author_name>
  <author_url>https://blog.hatena.ne.jp/mike_neck/</author_url>
  <blog_title>mike-neckのブログ</blog_title>
  <blog_url>https://mike-neck.hatenadiary.com/</blog_url>
  <categories>
    <anon>groovy</anon>
    <anon>kotlin</anon>
  </categories>
  <description>G* Advent Calendar 2017 の 6日目は groovy.lang.Closure のインスタンスを Kotlin で生成・取得する方法です。 Groovy! 3分くらいで読み終われます。 groovy.lang.Closure のインスタンスを Kotlin で生成・取得する方法です。Kotlin コードの中で Closure を作って Groovy に渡すということを指しています。 生成方法 早速ですが生成方法です。 ある A というクラスがあって、 Closure の中で用いるプロパティを A から取得したい場合は次のような関数を書きます。 fun &lt;A&gt; closur…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmike-neck.hatenadiary.com%2Fentry%2F20171206-advent-calendar-1&quot; title=&quot;Kotlin で groovy.lang.Closure のインスタンスを生成・取得する(G* Advent Calendar 2017 6日目) - mike-neckのブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/m/mike_neck/20150917/20150917235151.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-12-06 00:00:00</published>
  <title>Kotlin で groovy.lang.Closure のインスタンスを生成・取得する(G* Advent Calendar 2017 6日目)</title>
  <type>rich</type>
  <url>https://mike-neck.hatenadiary.com/entry/20171206-advent-calendar-1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
