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

6
LINES

< > BotCompany Repo | #1031814 // unlistedCopyToClass_withConverter_pcall - allow for fields to fail being copied

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

Libraryless. Click here for Pure Java version (17232L/106K).

static <A extends Concept> A unlistedCopyToClass_withConverter_pcall(Class<A> c, Concept a) {
  if (a == null) null;
  A b = unlisted(c);
  ccopyFields_withConverter_pcall(a, b);
  ret b;
}

Author comment

Began life as a copy of #1031345

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031814
Snippet name: unlistedCopyToClass_withConverter_pcall - allow for fields to fail being copied
Eternal ID of this version: #1031814/1
Text MD5: 792ace2abd6c0f46c72de72b5d3910a5
Transpilation MD5: d6bc597fd2ce6a88f3216a541b7ad934
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-07-02 20:53:48
Source code size: 194 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 141 / 220
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1030949 - Transpiler output of #1031393