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

6
LINES

< > BotCompany Repo | #1029854 // getProxiedObject - find target object for a proxy made with proxy()

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

Libraryless. Click here for Pure Java version (2516L/16K).

sO getProxiedObject(O proxy) {
  InvocationHandler ih = getInvocationHandler(proxy);
  if (ih cast proxy_InvocationHandler)
    ret ih.target;
  null;
}

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: #1029854
Snippet name: getProxiedObject - find target object for a proxy made with proxy()
Eternal ID of this version: #1029854/1
Text MD5: 22f0eb8d080154b594da693c1bcaa6ee
Transpilation MD5: ad531622dfaa33290a9f7959c9898343
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:25:28
Source code size: 157 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 194 / 279
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)