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

3
LINES

< > BotCompany Repo | #1031319 // mainClassNameForClassLoader

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

Libraryless. Click here for Pure Java version (2784L/16K).

sS mainClassNameForClassLoader(ClassLoader cl) {
  ret or((S) callOpt(cl, "mainClassName"), "main");
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1031319
Snippet name: mainClassNameForClassLoader
Eternal ID of this version: #1031319/1
Text MD5: 26b9e8a8b833a05b48a1bcc884e9100a
Transpilation MD5: ae55d4a052c4aaa6926b152fef68339b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-04 23:39:29
Source code size: 104 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 259 / 343
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)