{"author_url":"https://blog.hatena.ne.jp/fits/","author_name":"fits","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","version":"1.0","blog_url":"https://fits.hatenablog.com/","url":"https://fits.hatenablog.com/entry/2015/02/08/140240","categories":["Java"],"title":" Compiler Tree API \u3067 Java \u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u30d1\u30fc\u30b9\u3059\u308b","height":"190","type":"rich","description":"javax.tools \u3068 Compiler Tree API \u3092\u4f7f\u3063\u3066 Java \u306e\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u30d1\u30fc\u30b9\u3057\u3066\u307f\u307e\u3057\u305f\u3002 Java SE 8u31 \u524d\u56de \u3068\u540c\u3058\u3088\u3046\u306b\u3001\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3092 AST \u5316\u3057\u305f CompilationUnitTree \uff08\u5b9f\u969b\u306f JCTree$JCCompilationUnit\uff09 \u3092\u53d6\u5f97\u3057\u3001\u7c21\u5358\u306a TreeVisitor \u3092\u9069\u7528\u3057\u307e\u3059\u3002 \u4eca\u56de\u306e\u30bd\u30fc\u30b9\u306f http://github.com/fits/try_samples/tree/master/blog/20150208/ \u306f\u3058\u3081\u306b \u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3092 CompilationUnitTree \u5316\u3059\u308b\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u304c\u5206\u304b\u3089\u306a\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffits.hatenablog.com%2Fentry%2F2015%2F02%2F08%2F140240\" title=\" Compiler Tree API \u3067 Java \u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u30d1\u30fc\u30b9\u3059\u308b - \u306a\u3093\u3068\u306a\u304f\u306a Developer \u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2015-02-08 14:02:40","blog_title":"\u306a\u3093\u3068\u306a\u304f\u306a Developer \u306e\u30e1\u30e2","image_url":null,"width":"100%"}