1 | static L<Field> nonStaticNonTransientFieldObjects(O o) { |
2 | if (o == null) null; |
3 | new L<Field> fields; |
4 | Class _c = _getClass(o); |
5 | do { |
6 | for (Field f : _c.getDeclaredFields()) |
7 | if ((f.getModifiers() & (Modifier.STATIC | Modifier.TRANSIENT)) == 0) |
8 | fields.add(makeAccessible(f)); |
9 | _c = _c.getSuperclass(); |
10 | } while (_c != null); |
11 | return fields; |
12 | } |
Began life as a copy of #1025410
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: | #1025413 |
Snippet name: | nonStaticNonTransientFieldObjects |
Eternal ID of this version: | #1025413/1 |
Text MD5: | ff21363feea46fbcd1f9d7efbb2007db |
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:42:54 |
Source code size: | 377 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 318 / 341 |
Referenced in: | [show references] |