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

10
LINES

< > BotCompany Repo | #1029853 // proxy_InvocationHandler

JavaX fragment (include)

sclass proxy_InvocationHandler implements InvocationHandler {
  O target;
  
  *() {}
  *(O *target) {}
  
  public O invoke(O proxy, Method method, O[] args) {
    ret call(target, method.getName(), unnull(args));
  }
}

Author comment

Began life as a copy of #1003492

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1029853
Snippet name: proxy_InvocationHandler
Eternal ID of this version: #1029853/1
Text MD5: 7a24db25ed59b6d1516dc59e5051dd8e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-09-23 11:24:23
Source code size: 229 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 221 / 419
Referenced in: #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674)