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

7
LINES

< > BotCompany Repo | #1031611 // ccallOpt - call a concept's method by reflection. finds and uses an enter() method. actually works for everything

JavaX fragment (include)

sO ccallOpt(Concept.Ref ref, S method, O... args) {
  ret callOptWithEnter(cDeref(ref), method, args);
}

sO ccallOpt(O object, S method, O... args) {
  ret callOptWithEnter(object, method, args);
}

Author comment

Began life as a copy of #1031372

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1031611
Snippet name: ccallOpt - call a concept's method by reflection. finds and uses an enter() method. actually works for everything
Eternal ID of this version: #1031611/1
Text MD5: 7f7c2de9983b8c69bac9511e125e77f1
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:09
Source code size: 204 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 154 / 182
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)