Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1031612 // callOptWithEnter

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2893L/17K).

// varargs assignment fixer for a single string array argument
sO callOptWithEnter(O o, S method, S[] arg) {
  ret callOptWithEnter(o, method, new O[] {arg});
}

sO callOptWithEnter(O o, S method, O... args) {
  if (o == null) null;
  temp tempEnter(o);
  ret callOpt_withVarargs(o, method, args);
}

Author comment

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: 147 / 213
Referenced in: [show references]