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

4
LINES

< > BotCompany Repo | #1034782 // invokeConstructor

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

Libraryless. Click here for Pure Java version (5245L/29K).

sO invokeConstructor(Constructor m, O... args) ctex {
  makeAccessible(m);
  return m.newInstance(args);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1034782
Snippet name: invokeConstructor
Eternal ID of this version: #1034782/2
Text MD5: db8ab3d07d423d32bc0672f846882684
Transpilation MD5: 639e8bb1bd7b23a276e63b68f6ba6a5e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-08 09:58:25
Source code size: 109 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 228 / 313
Version history: 1 change(s)
Referenced in: [show references]