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

5
LINES

< > BotCompany Repo | #1027399 // dm_registerMainClassAs - return this module's main class on a certain message in VM bus

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

Libraryless. Click here for Pure Java version (10173L/72K).

static AutoCloseable mapMethodLike dm_registerMainClassAs(S... msgs) {
  Class c = mainClass(dm_current_mandatory_generic());
  ret combineAutoCloseables(map(msgs, msg ->
    dm_vmBus_answerToMessage(msg, fConst(c))));
}

Author comment

Began life as a copy of #1024065

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: #1027399
Snippet name: dm_registerMainClassAs - return this module's main class on a certain message in VM bus
Eternal ID of this version: #1027399/1
Text MD5: 9e809b69f38ac48dbef347e9cb43f202
Transpilation MD5: 2beb045292886b56e9b7ca77c9f71036
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-03-17 19:20:43
Source code size: 224 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 240 / 329
Referenced in: [show references]