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

5
LINES

< > BotCompany Repo | #1007910 // getMainMainClass - get first main class loaded in this VM

JavaX fragment (include)

1  
// get main class of first program (for console)
2  
static O getMainMainClass() {
3  
  O paa = first((L) call(getJavaX(), "getInjections"));
4  
  ret getOpt(paa, "mainClass");
5  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1007910
Snippet name: getMainMainClass - get first main class loaded in this VM
Eternal ID of this version: #1007910/2
Text MD5: da0ae1cb100eb467375139fc025ebb07
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-22 15:17:13
Source code size: 172 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 532 / 567
Version history: 1 change(s)
Referenced in: [show references]