Libraryless. Click here for Pure Java version (2476L/15K).
1 | svoid setFieldOptToSingleObjectMethodProxy(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) ret; // field doesn't exist |
5 | set(o, field, singleObjectMethodProxy(type, target, methodName)); |
6 | } |
Began life as a copy of #1027670
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1027671 |
| Snippet name: | setFieldOptToSingleObjectMethodProxy |
| Eternal ID of this version: | #1027671/4 |
| Text MD5: | 06933d862b0fd8594e06475f789bda83 |
| Transpilation MD5: | 37dd7055becbcb8fca93c59c834535ff |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-03-29 23:16:06 |
| Source code size: | 281 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 363 / 499 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |