Libraryless. Click here for Pure Java version (4608L/26K).
static <A> A nuLike proxy_printAllMethodCalls(Class<A> intrface, S prefix default "") { ret (A) java.lang.reflect.Proxy.newProxyInstance(intrface.getClassLoader(), new Class[] { intrface }, new InvocationHandler { public O invoke(O proxy, Method method, O[] args) { print(prefix, renderFunctionCall(method.getName(), args)); null; } }); }
Began life as a copy of #1029148
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033863 | 
| Snippet name: | proxy_printAllMethodCalls | 
| Eternal ID of this version: | #1033863/3 | 
| Text MD5: | 700901c774fd830a5c599c06a3b93051 | 
| Transpilation MD5: | 592224ffe51067f8d5cae741cec56eaa | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2022-01-07 20:33:49 | 
| Source code size: | 382 bytes / 10 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 377 / 516 | 
| Version history: | 2 change(s) | 
| Referenced in: | [show references] |