Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1031467 // setFieldToSingleMethodProxy

JavaX fragment (include) [tags: use-pretranspiled]

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));
}

Author comment

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: 87 / 139
Version history: 3 change(s)
Referenced in: [show references]