{"published":"2011-11-24 15:43:59","provider_name":"Hatena Blog","version":"1.0","image_url":null,"type":"rich","width":"100%","blog_url":"https://uehaj.hatenablog.com/","height":"190","author_url":"https://blog.hatena.ne.jp/uehaj/","url":"https://uehaj.hatenablog.com/entry/20111124/1322117039","author_name":"uehaj","title":" [groovy][gep] \u9759\u7684\u30b3\u30f3\u30d1\u30a4\u30eb\u306eGroovy\u62e1\u5f35\u63d0\u6848(GEP10)\u304c\u51fa\u305f","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fuehaj.hatenablog.com%2Fentry%2F20111124%2F1322117039\" title=\" [groovy][gep] \u9759\u7684\u30b3\u30f3\u30d1\u30a4\u30eb\u306eGroovy\u62e1\u5f35\u63d0\u6848(GEP10)\u304c\u51fa\u305f - uehaj&#39;s blog \" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":[],"blog_title":"uehaj's blog ","provider_url":"https://hatena.blog","description":"\u6b21\u671fGroovy\u306e\u65b0\u6a5f\u80fd\u306b\u3064\u3044\u3066\u306e\u60c5\u5831\u3067\u3059\u3002\u9759\u7684\u578b\u30c1\u30a7\u30c3\u30af(STC, Statically Type Check)\u304cGroovy 2.0 beta 1\u30c8\u30e9\u30f3\u30af\u306b\u542b\u3081\u3089\u308c\u305f\u306e\u306b\u7d9a\u304d\u3001\u9759\u7684\u30b3\u30f3\u30d1\u30a4\u30eb\u306e\u305f\u3081\u306eGroovy\u62e1\u5f35\u63d0\u6848(groovy enhancement proposal)\u3001GEP10\u304c\u63d0\u793a\u3055\u308c\u307e\u3057\u305f\u3002\u9759\u7684\u30b3\u30f3\u30d1\u30a4\u30eb\u306fAST\u5909\u63db\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u300c@CompileStatic\u300d\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u99c6\u52d5\u3055\u308c\u307e\u3059\u3002\u30b3\u30fc\u30c9\u4f8b\u306f\u3053\u3093\u306a\u611f\u3058\u3002 @groovy.transform.CompileStatic int fib(int i) { i < 2 ? 1 : fib(i - 2) + fib(i - \u2026"}