Libraryless. Click here for Pure Java version (2766L/16K).
1 | static Map<Class, LS> getFieldOrder_cache = weakMap(); |
2 | |
3 | static LS getFieldOrder(O o) { |
4 | ret getFieldOrder(_getClass(o)); |
5 | } |
6 | |
7 | static LS getFieldOrder(Class c) { |
8 | if (c == null) null; |
9 | ret getOrCreate(getFieldOrder_cache, c, |
10 | () -> splitAtSpace(toStringOpt(getOpt(c, '_fieldOrder)))); |
11 | } |
Began life as a copy of #1019416
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019498 |
Snippet name: | getFieldOrder |
Eternal ID of this version: | #1019498/6 |
Text MD5: | 43dd649fb25c50b7825971895ef50425 |
Transpilation MD5: | ce1395db34307f634c341f7f1e17b6bc |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-23 16:36:18 |
Source code size: | 299 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 417 / 564 |
Version history: | 5 change(s) |
Referenced in: | [show references] |