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

16
LINES

< > BotCompany Repo | #1020131 // dm_get - get field from module + synonym of dm_heldObject

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

Transpiled version (2853L) is out of date.

sO dm_get(O moduleOrID, S field) {
  ret get(dm_getModule(moduleOrID), field);
}

// legacy
sO mapMethodLike dm_get(S field, long moduleID) {
  ret dm_get(moduleID, field);
}

sO dm_get(S field, O moduleID) {
  ret dm_get(moduleID, field);
}

sO dm_get(O mod) {
  ret dm_heldObject(mod);
}

Author comment

Began life as a copy of #1019141

download  show line numbers  debug dex  old transpilations   

Travelled to 18 computer(s): bhatertpkbcr, cfunsshuasjs, dpqxeycirhfy, ekrmjmnbrukm, gwrvuhgaqvyk, lnbujpyubztb, mowyntqkapby, mqqgnosmbjvj, ofpaelxlmzfo, omdjrrnzbjjv, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, veepotesqksf, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1020131
Snippet name: dm_get - get field from module + synonym of dm_heldObject
Eternal ID of this version: #1020131/9
Text MD5: e608fee0b948491ff27714f7463f747f
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-08 02:14:26
Source code size: 304 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 426 / 637
Version history: 8 change(s)
Referenced in: [show references]