1 | static Android3 methodsBot_defaultBot; |
2 | static Lock methodsBot_defaultBotLock = lock(); |
3 | |
4 | static Android3 methodsBot(S name, final L<S> exposedMethods) { |
5 | ret makeBot(name, new O { |
6 | S answer(S s) { |
7 | ret exposeMethods(s, exposedMethods); |
8 | } |
9 | }); |
10 | } |
11 | |
12 | static Android3 methodsBot(S name, final S... exposedMethods) { |
13 | ret methodsBot(name, asList(exposedMethods)); |
14 | } |
15 | |
16 | static Android3 methodsBot() { |
17 | lock methodsBot_defaultBotLock; |
18 | if (methodsBot_defaultBot == null) |
19 | methodsBot_defaultBot = methodsBot(defaultMethodsBotName(), allMethodNames(mc())); |
20 | ret methodsBot_defaultBot; |
21 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004932 |
Snippet name: | methodsBot |
Eternal ID of this version: | #1004932/5 |
Text MD5: | 95d982fa89bd1a49c5f55e6042d63e86 |
Author: | stefan |
Category: | javax / rpc |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-20 14:37:51 |
Source code size: | 613 bytes / 21 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 620 / 619 |
Version history: | 4 change(s) |
Referenced in: | [show references] |