<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wabix</author_name>
  <author_url>https://blog.hatena.ne.jp/wabix/</author_url>
  <blog_title>wabixの「高い目標に挑戦し、前進しよう」日記</blog_title>
  <blog_url>https://wabix.hatenadiary.org/</blog_url>
  <categories>
    <anon>java</anon>
  </categories>
  <description>Exception クラスのインスタンスから、メソッド名を得ることができる。自分のメソッド名を得る。 String currentMethod = *1.getStackTrace())[0].getMethodName(); 自分を呼び出したメソッドを得る。 String callerMethod = *2.getStackTrace())[1].getMethodName(); あと、 java.lang.reflect でいろいろできそう。 *1:new Exception( *2:new Exception(</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwabix.hatenadiary.org%2Fentry%2F20041202%2Fp1&quot; title=&quot; メソッドの名前を知る - wabixの「高い目標に挑戦し、前進しよう」日記&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>2004-12-02 00:00:00</published>
  <title> メソッドの名前を知る</title>
  <type>rich</type>
  <url>https://wabix.hatenadiary.org/entry/20041202/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
