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).

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

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