Uses 3273K of libraries. Click here for Pure Java version (17269L/123K).
1 | !7 |
2 | |
3 | lib 1400352 // ByteBuddy |
4 | |
5 | import net.bytebuddy.*; |
6 | import net.bytebuddy.dynamic.*; |
7 | |
8 | module TestByteBuddy > DynPrintLog {
|
9 | start-thread {
|
10 | DynamicType.Unloaded c = new ByteBuddy() |
11 | .subclass(Concept) |
12 | .name("main$DynamicallyMade")
|
13 | .make(); |
14 | print(_getClass(c)); |
15 | print(getOpt binaryRepresentation(c)); |
16 | } |
17 | } |
Began life as a copy of #1027589
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1027593 |
| Snippet name: | Try to get new class as byte[] from ByteBuddy [seems to work] |
| Eternal ID of this version: | #1027593/6 |
| Text MD5: | d50732f1514473ecfaa276d65bf83a62 |
| Transpilation MD5: | 4f28bddcb6de1deb22e1700945e88691 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-03-25 14:09:47 |
| Source code size: | 351 bytes / 17 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 369 / 528 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |