Libraryless. Click here for Pure Java version (2897L/17K).
static void printObjectWithFields(O o, S... fields) { if (o == null) { print("null"); ret; } print(shortClassName(o)); for (S field : fields) printIndent(field + ": " + getOpt(o, field)); print(); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1008875 |
| Snippet name: | printObjectWithFields |
| Eternal ID of this version: | #1008875/3 |
| Text MD5: | be1803943c6f7016c904a12d899782fc |
| Transpilation MD5: | 85e29f538fdb1fdaee42bcb44639a910 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-06-05 16:28:44 |
| Source code size: | 216 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 792 / 896 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1031337 - printObjectWithFields_struct #1031338 - printObjectWithAllFields |