Uses 3273K of libraries. Click here for Pure Java version (12788L/87K).
static Class byteBuddy_quicklyAddSubClass(S className, Class baseClass) { byte[] classData = byteBuddy_newSubClass_bytes(className, baseClass); File jar = programFile(className + ".jar"); createZipFileWithSingleBinaryFile(jar, className + ".class", classData); addLibraryToCurrentProgram(jar); ret classForName(className); }
Began life as a copy of #1027598
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: | #1027599 |
| Snippet name: | byteBuddy_quicklyAddSubClass |
| Eternal ID of this version: | #1027599/3 |
| Text MD5: | 2e6c141a201521d7be5bcf6fe06d034d |
| Transpilation MD5: | 5349f4b0abddd8e7cf5f8fedc6d38c73 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-03-25 14:31:26 |
| Source code size: | 340 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 412 / 496 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |