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

19
LINES

< > BotCompany Repo | #1007591 // unlisted

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

Libraryless. Click here for Pure Java version (14681L/94K).

// make concept instance that is not connected to DB
static <A extends Concept> A nuLike unlisted(Class<A> c, O... args) {
  concepts_unlisted.set(true);
  try {
    ret nuObject(c, args);
  } finally {
    concepts_unlisted.set(null);
  }
}

static Concept nuLike unlisted(S name, O... args) {
  Class<? extends Concept> cc = findClass(name);
  concepts_unlisted.set(true);
  try {
    ret cc != null ? nuObject(cc) : new Concept(name);
  } finally {
    concepts_unlisted.set(null);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1007591
Snippet name: unlisted
Eternal ID of this version: #1007591/4
Text MD5: 578aa92cebc5458a7a6f33c3b6141e71
Transpilation MD5: ff8a4beb0032d7f3a609b8d788b6f0cf
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-18 22:09:45
Source code size: 508 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 510 / 586
Version history: 3 change(s)
Referenced in: [show references]