Libraryless. Click here for Pure Java version (2792L/17K).
1 | static <A> void addDynamicInterface(DynamicObject o, Class<A> intrface, A implementation) { |
2 | dynamicObject_setRawFieldValue(o, intrface, implementation); |
3 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031193 |
Snippet name: | addDynamicInterface |
Eternal ID of this version: | #1031193/1 |
Text MD5: | 415b597d68bfb1ddd826adf0ade8e0a8 |
Transpilation MD5: | 5becd38afb922bed7834e50763582dcc |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-05-19 23:32:38 |
Source code size: | 159 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 176 / 245 |
Referenced in: | [show references] |