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.

1  
sO dm_get(O moduleOrID, S field) {
2  
  ret get(dm_getModule(moduleOrID), field);
3  
}
4  
5  
// legacy
6  
sO mapMethodLike dm_get(S field, long moduleID) {
7  
  ret dm_get(moduleID, field);
8  
}
9  
10  
sO dm_get(S field, O moduleID) {
11  
  ret dm_get(moduleID, field);
12  
}
13  
14  
sO dm_get(O mod) {
15  
  ret dm_heldObject(mod);
16  
}

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: 428 / 640
Version history: 8 change(s)
Referenced in: [show references]