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

3
LINES

< > BotCompany Repo | #1030209 - callFOrNewInstance - callF or newInstance (if Class)

JavaX fragment (include)

sO callFOrNewInstance(O o, O... args) {
  ret o instanceof Class ? newInstance((Class) o, args) : callF(o, args);
}

Author comment

Began life as a copy of #1003050

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1030209
Snippet name: callFOrNewInstance - callF or newInstance (if Class)
Eternal ID of this version: #1030209/1
Text MD5: 9c1b458a2dd86f59061515691cfa20b9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-16 16:02:00
Source code size: 117 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 22 / 36
Referenced in: [show references]

Formerly at http://tinybrain.de/1030209 & http://1030209.tinybrain.de