Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1029313 // printRecursiveSizeOfFields

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3661L/24K).

1  
svoid printRecursiveSizeOfFields(O o) ctex {
2  
  for (Field field : nonStaticNonPrimitiveFieldObjects(o))
3  
    print(field.getName() + ": " + n2(recursiveObjectSize(field.get(o))));
4  
}

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: #1029313
Snippet name: printRecursiveSizeOfFields
Eternal ID of this version: #1029313/3
Text MD5: 431180e1f727bf1c4e7da1856ac8a829
Transpilation MD5: 362b163387dac9073dab27d75d7e3cfd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-31 00:41:55
Source code size: 185 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 283 / 402
Version history: 2 change(s)
Referenced in: [show references]