Libraryless. Click here for Pure Java version (3122L/18K).
1 | svoid printObjectWithAllFields(O o) { |
2 | if (o == null) { print("null"); ret; } |
3 | print(shortClassName(o)); |
4 | for (Field field : fieldObjects(o)) |
5 | printIndent(field + ": " + getField(field, o)); |
6 | print(); |
7 | } |
Began life as a copy of #1008875
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031338 |
Snippet name: | printObjectWithAllFields |
Eternal ID of this version: | #1031338/1 |
Text MD5: | f3eefc73c81903d87040546bdec0e6b7 |
Transpilation MD5: | 4ce8f4a0f23e5361cf9e35e1aff8f7f0 |
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:30:35 |
Source code size: | 215 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 170 / 238 |
Referenced in: | [show references] |