Uses 1311K of libraries. Click here for Pure Java version (10293L/58K).
srecord noeq IF0FromByteCode(IVF1<MethodMaker> fillMethod) { ClassMaker<IF0> classMaker; MethodMaker methodMaker; settable bool printDisassembly; run { classMaker = ClassMaker(IF0); classMaker.printDisassembly(printDisassembly); methodMaker = MethodMaker(classMaker, O, "get"); fillMethod.get(methodMaker); methodMaker.done(); } IF0 get() { if (classMaker == null) run(); ret classMaker.newInstance(); } } static IF0 if0FromByteCode(IVF1<MethodMaker> fillMethod) { ret new IF0FromByteCode(fillMethod)!; }
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: | 674 / 821 | 
| Version history: | 9 change(s) | 
| Referenced in: | [show references] |