専用のメソッドで呼び出したメソッド名が取得できるけどマクロ的なものはなさそうな感じなので https://q.hatena.ne.jp/1663765916 にて質問してみた。

kenjiro_nkenjiro_n のブックマーク 2022/09/21 19:13

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Getting the name of the currently executing method

    Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technolo...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう