static int numberOfFunctionArguments(O f) { ifclass F0 if (f instanceof F0) ret 0; endif ifclass F1 if (f instanceof F1) ret 1; endif ifclass F2 if (f instanceof F2) ret 2; endif ifclass VF1 if (f instanceof VF1) ret 1; endif ifclass VF2 if (f instanceof VF2) ret 2; endif ifclass VF3 if (f instanceof VF3) ret 3; endif if (f instanceof S) ret numberOfMethodArguments(mc(), (S) f); ret numberOfMethodArguments(f, "get"); }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008682 |
Snippet name: | numberOfFunctionArguments - or -1 if unknown |
Eternal ID of this version: | #1008682/6 |
Text MD5: | 38c98dcdb08439b7fbc0cbbd394bbf9a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-08 12:17:02 |
Source code size: | 447 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 507 / 2052 |
Version history: | 5 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1015790 - maxNumberOfFunctionArguments |