Libraryless. Click here for Pure Java version (3030L/17K).
svoid setFieldToSingleMethodProxy(O o, S field, O target, S methodName) { if (o == null || target == null) ret; Class type = fieldType(o, field); if (type == null) fail("Field " + field + " not found in " + className(o)); set(o, field, singleObjectMethodProxy(type, target, methodName)); }
Began life as a copy of #1029496
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031467 |
| Snippet name: | setFieldToSingleMethodProxy |
| Eternal ID of this version: | #1031467/4 |
| Text MD5: | 60faf0c68fde90ac38d6ac052ce0323a |
| Transpilation MD5: | 4efab362afec57d71a07411f46967516 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-06-14 04:05:38 |
| Source code size: | 302 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 382 / 500 |
| Version history: | 3 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1032893 - tempSetFieldToSingleMethodProxy |