Libraryless. Click here for Pure Java version (10847L/76K).
svoid mapMethodLike dm_copyFieldToObject(S field, O object, O... _) { optPar bool verbose; DynModule mod = dm_current_mandatory(); dm_onFieldChangeAndNow(field, r { O value = getOpt(mod, field); if (verbose) print("dm_copyFieldToObject " + className(object) + " " + field + "=" + value); setOpt(object, field, value); }); }
Began life as a copy of #1023013
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1029988 |
Snippet name: | dm_copyFieldToObject - also when changed |
Eternal ID of this version: | #1029988/2 |
Text MD5: | cffde81d1b2ff8997a18f4828e0d673a |
Transpilation MD5: | 00d5b4dd86fa0fe58a96dedad3904ccf |
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-10-27 10:09:30 |
Source code size: | 351 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 213 / 304 |
Version history: | 1 change(s) |
Referenced in: | [show references] |