Libraryless. Click here for Pure Java version (4363L/25K).
1 | static AutoCloseable tempSetFieldToSingleMethodProxy(O o, S field, O target, S methodName) { |
2 | if (o == null || target == null) null; |
3 | Class type = fieldType(o, field); |
4 | if (type == null) fail("Field " + field + " not found in " + className(o)); |
5 | ret tempSetField(o, field, singleObjectMethodProxy(type, target, methodName)); |
6 | } |
Began life as a copy of #1031467
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1032893 |
Snippet name: | tempSetFieldToSingleMethodProxy |
Eternal ID of this version: | #1032893/1 |
Text MD5: | d61523231ffc8e1b1d06e5da98826aed |
Transpilation MD5: | d7eb362c6837dfb05cea745538a7ace3 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-08 18:01:26 |
Source code size: | 335 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 148 / 217 |
Referenced in: | [show references] |