1 | static O callAndMake_orDirect(S functionName, L args) { |
2 | ret callAndMake_orDirect(functionName, toObjectArray(args)); |
3 | } |
4 | |
5 | static O callAndMake_orDirect(S functionName, O... args) { |
6 | if (functionName == null) null; |
7 | if (hasMethod(mc(), functionName, args)) |
8 | ret callMC(functionName, args); |
9 | else |
10 | ret makeAndCall_cached(functionName, args); |
11 | } |
Began life as a copy of #1011493
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: | #1011818 |
Snippet name: | callAndMake_orDirect - dynamically load standard function OR execute it in current program (if it's there) |
Eternal ID of this version: | #1011818/4 |
Text MD5: | 1518b18db88668d1ea09c0e35b54cf1f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-20 02:09:44 |
Source code size: | 360 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 546 / 592 |
Version history: | 3 change(s) |
Referenced in: | [show references] |