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)

1  
static O callConstructor(S className, O... args) {
2  
  ret nuObject(className, args);
3  
}
4  
5  
6  
7  
// too ambiguous - maybe need to fix some callers
8  
/*static O nuObject(O realm, S className, O... args) {
9  
  ret nuObject(_getClass(realm, className), args);
10  
}*/
11  
12  
static <A> A callConstructor(Class<A> c, O... args) {
13  
  ret nuObject(c, args);
14  
}

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: 41 / 62
Referenced in: [show references]