Libraryless. Click here for Pure Java version (5090L/34K).
sS defaultModuleClassForSnippetID(S snippetID) { LS tok = javaTok(getServerTranspiled2(snippetID)); new Matches m; for (int i : jfindAll(tok, "boolean <id> = true;")) if (startsWith(tok.get(i+2), "_moduleClass_", m) && isIdentifier(m.rest())) ret m.rest(); null; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027707 |
Snippet name: | defaultModuleClassForSnippetID |
Eternal ID of this version: | #1027707/2 |
Text MD5: | f8ad36526d92bb899907854b4e12c1bf |
Transpilation MD5: | cbe168021753ee06ccab92bc8d0558df |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-04-04 16:01:15 |
Source code size: | 289 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 157 / 231 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |