{"image_url":null,"published":"2004-05-07 07:01:33","width":"100%","type":"rich","url":"https://asato-d.hatenadiary.org/entry/20040507/1083880893","title":" Aspectual Reflection or Aspect-Oriented Reflection","blog_title":"asato\u306e\u6280\u8853\u7684\u306a\u5185\u5bb9\u306e\u65e5\u8a18","author_url":"https://blog.hatena.ne.jp/asato-d/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fasato-d.hatenadiary.org%2Fentry%2F20040507%2F1083880893\" title=\" Aspectual Reflection or Aspect-Oriented Reflection - asato\u306e\u6280\u8853\u7684\u306a\u5185\u5bb9\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","blog_url":"https://asato-d.hatenadiary.org/","height":"190","categories":["\u30cd\u30bf","AOP"],"author_name":"asato-d","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","description":"\u3061\u3087\u3063\u3068\u30bf\u30a4\u30c8\u30eb\u306f\u5927\u3052\u3055\u3060\u3051\u3069\u3001\u3001\u3001 \u3082\u3057\u3001\u30a2\u30c9\u30d0\u30a4\u30b9\u306b\u30e1\u30bd\u30c3\u30c9\u3068\u540c\u3058\u3088\u3046\u306b\u540d\u524d\u3092\u4ed8\u3051\u3089\u308c\u305f\u3089\uff1f public aspect MyAspect { before myBefore() { ... } } \u30e1\u30bd\u30c3\u30c9\u304c\u30ea\u30d5\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u901a\u3057\u3066\u3001Method \u3068\u3057\u3066\u53d6\u5f97\u3067\u304d\u308b\u306e\u3068\u540c\u69d8\u306b public class MyClass { public void method() { Advice advice = MyAspect.aspect.getAdvice(\"myBefore\"); } } \u307f\u305f\u3044\u306a\uff1f \u3082\u3057\u3053\u308c\u304c\u3067\u304d\u308b\u3068\u3059\u308b\u3068\u3001\u4e00\u3064\u306e\u5229\u70b9\u306f\u3001\u30a2\u30c9\u30d0\u30a4\u30b9\u5358\u4f4d\u3067\u305d\u306e\u30a2\u30c9\u30d0\u30a4\u30b9\u3092\u5b9f\u884c\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u6307\u5b9a\u3067\u304d\u2026"}