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

10
LINES

< > BotCompany Repo | #1031601 // callWithEnter

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

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

1  
// varargs assignment fixer for a single string array argument
2  
sO callWithEnter(O o, S method, S[] arg) {
3  
  ret callWithEnter(o, method, new O[] {arg});
4  
}
5  
6  
sO callWithEnter(O o, S method, O... args) {
7  
  if (o == null) null;
8  
  temp tempEnter(o);
9  
  ret call_withVarargs(o, method, args);
10  
}

Author comment

Began life as a copy of #1000630

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031601
Snippet name: callWithEnter
Eternal ID of this version: #1031601/5
Text MD5: 2e9ebd64f49f89108c8a88242562c787
Transpilation MD5: fd8d9418b07593cf4286028b8f03a7d6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-22 09:04:32
Source code size: 296 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 196 / 265
Version history: 4 change(s)
Referenced in: [show references]