Libraryless. Click here for Pure Java version (3030L/17K).
1 | svoid setFieldToSingleMethodProxy(O o, S field, O target, S methodName) {
|
2 | if (o == null || target == null) ret; |
3 | Class type = fieldType(o, field); |
4 | if (type == null) fail("Field " + field + " not found in " + className(o));
|
5 | set(o, field, singleObjectMethodProxy(type, target, methodName)); |
6 | } |
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: | 381 / 498 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |