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

10
LINES

< > BotCompany Repo | #1024027 // dm_originalFieldValue

JavaX fragment (include)

sO mapMethodLike dm_originalFieldValue(S field, O mod) {
  mod = dm_getModule(mod);
  if (mod == null) null;
  O tempInstance = newInstance(mod.getClass());
  try {
    ret getOpt(tempInstance, field);
  } finally {
    cleanUp(tempInstance);
  }
}

Author comment

Began life as a copy of #1023947

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024027
Snippet name: dm_originalFieldValue
Eternal ID of this version: #1024027/1
Text MD5: 4f2656e5826a9f0fab2a7fe4675a07c9
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-17 21:26:03
Source code size: 257 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 202 / 240
Referenced in: [show references]