Libraryless. Click here for Pure Java version (2348L/15K).
1 | static DynamicObject toDynamicObject(O o) {
|
2 | if (o == null) null; |
3 | if (o cast DynamicObject) ret o; |
4 | ret dynamicObject(lightlyShortClassName(o), objectToParams(o)); |
5 | } |
Began life as a copy of #1004550
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1027618 |
| Snippet name: | toDynamicObject |
| Eternal ID of this version: | #1027618/3 |
| Text MD5: | 580936cc7f7b71062385d54b0b5073e2 |
| Transpilation MD5: | 51d4d15ec5442decabb93865681bac36 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-03-26 15:45:55 |
| Source code size: | 173 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 388 / 515 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |