Libraryless. Click here for Pure Java version (10847L/76K).
1 | svoid mapMethodLike dm_copyFieldToObject(S field, O object, O... _) { |
2 | optPar bool verbose; |
3 | DynModule mod = dm_current_mandatory(); |
4 | dm_onFieldChangeAndNow(field, r { |
5 | O value = getOpt(mod, field); |
6 | if (verbose) print("dm_copyFieldToObject " + className(object) + " " + field + "=" + value); |
7 | setOpt(object, field, value); |
8 | }); |
9 | } |
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: | 214 / 306 |
Version history: | 1 change(s) |
Referenced in: | [show references] |