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

7
LINES

< > BotCompany Repo | #1022767 // methodAsDynamicCallable

JavaX fragment (include)

1  
static DynamicCallable methodAsDynamicCallable(O object, S method) {
2  
  ret new DynamicCallable {
3  
    O _dyn(O[] args) {
4  
      ret call(object, method, args);
5  
    }
6  
  };
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022767
Snippet name: methodAsDynamicCallable
Eternal ID of this version: #1022767/1
Text MD5: c9e223a255d20c65a79e5234eed5f29c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-06 17:12:57
Source code size: 176 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 254 / 281
Referenced in: [show references]