1 | // This is a bit rough... finds static and non-static methods. |
2 | // It's usually just for error messages though, so no worries. |
3 | |
4 | static boolean hasFunctionNamed(O obj, String method) { |
5 | ret hasMethodNamed(obj, method); |
6 | } |
7 | |
8 | |
9 | |
10 | static boolean hasFunctionNamed(Class c, String method) { |
11 | ret hasMethodNamed(c, method); |
12 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1018185 |
| Snippet name: | hasFunctionNamed - synonym of hasMethodNamed |
| Eternal ID of this version: | #1018185/1 |
| Text MD5: | ed57a8f939bbeed760e444e58515346b |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-09-07 17:52:30 |
| Source code size: | 320 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 631 / 654 |
| Referenced in: | [show references] |