Transpiled version (2799L) is out of date.
1 | static Class getMainClass() {
|
2 | return mc(); |
3 | } |
4 | |
5 | static Class getMainClass(O o) ctex {
|
6 | if (o == null) null; |
7 | if (o instanceof Class && eq(((Class) o).getName(), "x30")) ret (Class) o; |
8 | ClassLoader cl = (o instanceof Class ? (Class) o : o.getClass()).getClassLoader(); |
9 | if (cl == null) null; |
10 | S name = mainClassNameForClassLoader(cl); |
11 | ret loadClassFromClassLoader_orNull(cl, name); |
12 | } |
download show line numbers debug dex old transpilations
Travelled to 19 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney
No comments. add comment
| Snippet ID: | #1001152 |
| Snippet name: | getMainClass |
| Eternal ID of this version: | #1001152/7 |
| Text MD5: | 387e6175854997158ce644a6f561d210 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-06-29 19:08:14 |
| Source code size: | 400 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1248 / 8180 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |