Libraryless. Click here for Pure Java version (2132L/13K).
static L<Field> nonStaticNonPrimitiveNonTransientFieldObjects(O o) { if (o == null) null; new L<Field> fields; Class _c = _getClass(o); do { for (Field f : _c.getDeclaredFields()) if ((f.getModifiers() & (Modifier.STATIC | Modifier.TRANSIENT)) == 0 && !isPrimitiveType(f.getType())) fields.add(makeAccessible(f)); _c = _c.getSuperclass(); } while (_c != null); return fields; }
Began life as a copy of #1018910
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025410 |
Snippet name: | nonStaticNonPrimitiveNonTransientFieldObjects |
Eternal ID of this version: | #1025410/3 |
Text MD5: | 3a38ba059e8aa779ed6f5130becd7510 |
Transpilation MD5: | 761eda01e4771ef42450e573628eb257 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-28 18:21:40 |
Source code size: | 422 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 240 / 338 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1025411 - nonStaticNonPrimitiveNonTransientFieldValues #1025413 - nonStaticNonTransientFieldObjects |