Libraryless. Click here for Pure Java version (2893L/17K).
1 | // varargs assignment fixer for a single string array argument |
2 | sO callOptWithEnter(O o, S method, S[] arg) { |
3 | ret callOptWithEnter(o, method, new O[] {arg}); |
4 | } |
5 | |
6 | sO callOptWithEnter(O o, S method, O... args) { |
7 | if (o == null) null; |
8 | temp tempEnter(o); |
9 | ret callOpt_withVarargs(o, method, args); |
10 | } |
Began life as a copy of #1031601
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031612 |
Snippet name: | callOptWithEnter |
Eternal ID of this version: | #1031612/1 |
Text MD5: | a3e680c7fc6b97f2b3bb13fa61773b23 |
Transpilation MD5: | 9be36c2f86d91237d290393ec636d7e1 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-22 10:52:35 |
Source code size: | 308 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 149 / 216 |
Referenced in: | [show references] |