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

16
LINES

< > BotCompany Repo | #1003841 // hotwireCore - direct hotwire from .jar/classes dir

JavaX fragment (include)

1  
static Class hotwireCore(L<File> files) ctex {
2  
  // make class loader
3  
  JavaXClassLoader classLoader = hotwire_makeClassLoader(files);
4  
5  
  // load & return main class
6  
  Class<?> theClass = classLoader.loadClass("main");
7  
  
8  
  setOpt(theClass, "__javax", getJavaX());
9  
  if (getOpt(theClass, "programID") == null)
10  
    setOpt(theClass, "programID", "#3999999");
11  
  
12  
  if (!_inCore())
13  
    hotwire_copyOver(theClass);
14  
  
15  
  ret theClass;
16  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003841
Snippet name: hotwireCore - direct hotwire from .jar/classes dir
Eternal ID of this version: #1003841/6
Text MD5: efc76411142bb47c5537425c013d0cad
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-17 11:41:25
Source code size: 445 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 612 / 683
Version history: 5 change(s)
Referenced in: [show references]