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

5
LINES

< > BotCompany Repo | #1028675 // dm_call_assertModuleExists

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

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

sO mapMethodLike dm_call_assertModuleExists(O moduleOrID, S method, O... args) {
  O mod = dm_getModule(moduleOrID);
  if (mod == null) fail("Module not found: " + moduleOrID);
  ret dm_call(mod, method, args);
}

Author comment

Began life as a copy of #1020139

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: #1028675
Snippet name: dm_call_assertModuleExists
Eternal ID of this version: #1028675/4
Text MD5: c29c9a84ceec13c633cfc58158c5e574
Transpilation MD5: cfa69ec3713306991cccc0cd507c21d3
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-07-05 12:47:44
Source code size: 216 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 229 / 310
Version history: 3 change(s)
Referenced in: [show references]