// Note: Not guaranteed to work by Java VM spec; // should do this in transpiler static S currentFunctionName() { ret new Throwable().getStackTrace()[1].getMethodName(); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012135 |
Snippet name: | currentFunctionName - get current function's name from stack trace |
Eternal ID of this version: | #1012135/3 |
Text MD5: | bb524c3ee22b0589f4275f0e54d78838 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-21 10:07:31 |
Source code size: | 177 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 344 / 357 |
Version history: | 2 change(s) |
Referenced in: | [show references] |