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

9
LINES

< > BotCompany Repo | #1020945 // conceptFields_gen

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

Libraryless. Click here for Pure Java version (2587L/16K).

static S[] conceptFields_gen_drop = {"className", "fieldValues", "id", "created", "_modified", "refs", "backRefs", "_concepts"};

static Set<S> conceptFields_gen(O c) {
  ret setMinus(mergeTreeSets(allNonStaticNonTransientFields(c), keys((Map) getOpt_raw(c, 'fieldValues))), conceptFields_gen_drop);
}

static Set<S> conceptFields_gen(Class c) {
  ret setMinus(allNonStaticNonTransientFields(c), conceptFields_gen_drop);
}

Author comment

Began life as a copy of #1005294

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020945
Snippet name: conceptFields_gen
Eternal ID of this version: #1020945/3
Text MD5: 664132315d4736091099abd3376dba43
Transpilation MD5: 31c7586b4202afa361e3713f7da85826
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-18 19:09:02
Source code size: 430 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 326 / 429
Version history: 2 change(s)
Referenced in: [show references]