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

6
LINES

< > BotCompany Repo | #1027671 // setFieldOptToSingleObjectMethodProxy

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

Libraryless. Click here for Pure Java version (2476L/15K).

svoid setFieldOptToSingleObjectMethodProxy(O o, S field, O target, S methodName) {
  if (o == null || target == null) ret;
  Class type = fieldType(o, field);
  if (type == null) ret; // field doesn't exist
  set(o, field, singleObjectMethodProxy(type, target, methodName));
}

Author comment

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