Uses 1311K of libraries. Click here for Pure Java version (10293L/58K).
1 | srecord noeq IF0FromByteCode(IVF1<MethodMaker> fillMethod) {
|
2 | ClassMaker<IF0> classMaker; |
3 | MethodMaker methodMaker; |
4 | settable bool printDisassembly; |
5 | |
6 | run {
|
7 | classMaker = ClassMaker(IF0); |
8 | classMaker.printDisassembly(printDisassembly); |
9 | methodMaker = MethodMaker(classMaker, O, "get"); |
10 | fillMethod.get(methodMaker); |
11 | methodMaker.done(); |
12 | } |
13 | |
14 | IF0 get() {
|
15 | if (classMaker == null) run(); |
16 | ret classMaker.newInstance(); |
17 | } |
18 | } |
19 | |
20 | static IF0 if0FromByteCode(IVF1<MethodMaker> fillMethod) {
|
21 | ret new IF0FromByteCode(fillMethod)!; |
22 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034319 |
| Snippet name: | if0FromByteCode / IF0FromByteCode |
| Eternal ID of this version: | #1034319/10 |
| Text MD5: | 0a4c23473268e3c301ccf8c778097716 |
| Transpilation MD5: | af6058137df962a4f4f208bbc7d8b7aa |
| Author: | stefan |
| Category: | javax / left arrow script |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-02-02 20:31:53 |
| Source code size: | 576 bytes / 22 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 676 / 825 |
| Version history: | 9 change(s) |
| Referenced in: | [show references] |