Libraryless. Click here for Pure Java version (95L/1K).
static L<Field> allFieldObjects_dontMakeAccessible(O o) { new L<Field> fields; Class _c = _getClass(o); do { addAll(fields, _c.getDeclaredFields()); _c = _c.getSuperclass(); } while (_c != null); return fields; }
Began life as a copy of #1013088
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033883 |
Snippet name: | allFieldObjects_dontMakeAccessible - get field objects including base classes |
Eternal ID of this version: | #1033883/1 |
Text MD5: | a9bc2fd74a8168194ae41f0b175139f5 |
Transpilation MD5: | 2896e534fcfbb20cc1cabb2f325d53ca |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-08 21:41:29 |
Source code size: | 238 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 155 / 228 |
Referenced in: | [show references] |