1 | static L<Field> nonStaticFieldObjects(O o) { |
2 | new L<Field> fields; |
3 | Class _c = _getClass(o); |
4 | do { |
5 | for (Field f : _c.getDeclaredFields()) |
6 | if ((f.getModifiers() & Modifier.STATIC) == 0) { |
7 | f.setAccessible(true); |
8 | fields.add(f); |
9 | } |
10 | _c = _c.getSuperclass(); |
11 | } while (_c != null); |
12 | return fields; |
13 | } |
Began life as a copy of #1013088
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018910 |
Snippet name: | nonStaticFieldObjects |
Eternal ID of this version: | #1018910/1 |
Text MD5: | fbf2c840694a528c9c7f18b7dc75279e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-15 20:52:37 |
Source code size: | 345 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 423 / 436 |
Referenced in: | [show references] |