1 | // name currently not used, we only call a method called "_wrap" in |
2 | // the main class with the to-wrapped object as first argument and |
3 | // a list of other parameters as second argument. |
4 | static <A> A wrapStuff(S name, A object, O... args) { |
5 | //ret or(object, (A) callOpt(mc(), "wrap" + name, |
6 | // toObjectArray(concatLists(litlist((O) object), toList(args))))); |
7 | ret or((A) callOpt(mc(), "_wrap", object, asList(args)), object); |
8 | } |
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: | #1002691 |
Snippet name: | wrapStuff method - allow interception of new objects |
Eternal ID of this version: | #1002691/2 |
Text MD5: | 9fd17dcd6918cfa350e0709b2074ca35 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-17 18:19:19 |
Source code size: | 438 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 729 / 748 |
Version history: | 1 change(s) |
Referenced in: | [show references] |