Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1019498 - getFieldOrder

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2138L/14K).

static L<S> getFieldOrder(O o) {
  //S s = cast callOpt(o, "_fieldOrder");
  //if (s != null) ret splitAtSpace(s);
  ret getFieldOrder(_getClass(o));
}

static L<S> getFieldOrder(Class c) {
  if (c == null) null;
  ret splitAtSpace(toStringOpt(getOpt(c, '_fieldOrder)));
}

Author comment

Began life as a copy of #1019416

download  show line numbers  debug dex   

Travelled to 8 computer(s): cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tvejysmllsmz

No comments. add comment

Snippet ID: #1019498
Snippet name: getFieldOrder
Eternal ID of this version: #1019498/4
Text MD5: dbc58a5f3242ec7af8354d32d13365fc
Transpilation MD5: 695e64a62c185356a6c3fc32859a9f8d
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-29 13:57:49
Source code size: 281 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 87 / 110
Version history: 3 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1019498 & http://1019498.tinybrain.de