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

14
LINES

< > BotCompany Repo | #1033978 // callConstructor - synonym of nuObject

JavaX fragment (include)

static O callConstructor(S className, O... args) {
  ret nuObject(className, args);
}



// too ambiguous - maybe need to fix some callers
/*static O nuObject(O realm, S className, O... args) {
  ret nuObject(_getClass(realm, className), args);
}*/

static <A> A callConstructor(Class<A> c, O... args) {
  ret nuObject(c, args);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033978
Snippet name: callConstructor - synonym of nuObject
Eternal ID of this version: #1033978/1
Text MD5: cb5f1708d1b5922350d644ec5525de3c
Author: someone
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-15 04:30:23
Source code size: 337 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 109 / 134
Referenced in: [show references]