static S getMainJava(O o) ctex { Class c = toClass(o); if (!c.getName().equals("main")) c = c.getClassLoader().loadClass("main"); ret (S) call(getJavaX(), "getSourceCodeForClass", c); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002444 |
Snippet name: | getMainJava |
Eternal ID of this version: | #1002444/1 |
Text MD5: | 7593af6d434ee32e36495d6ebaa81070 |
Author: | stefan |
Category: | eleu |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-01-23 01:11:39 |
Source code size: | 200 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 638 / 587 |
Referenced in: | [show references] |