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).

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

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

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: 117 / 169
Version history: 4 change(s)
Referenced in: [show references]