Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1027598 // byteBuddy_newSubClass_bytes

JavaX fragment (include) [tags: use-pretranspiled]

Uses 3273K of libraries. Click here for Pure Java version (12743L/86K).

lib 1400352 // ByteBuddy

import net.bytebuddy.*;
import net.bytebuddy.dynamic.*;

static byte[] byteBuddy_newSubClass_bytes(S className, Class baseClass) {
  ret (byte[]) _get binaryRepresentation(new ByteBuddy()
      .subclass(Concept)
      .name(className)
      .make());
}

Author comment

Began life as a copy of #1027594

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: #1027598
Snippet name: byteBuddy_newSubClass_bytes
Eternal ID of this version: #1027598/1
Text MD5: b9bfb13a6bc803d93f5b2c2a9d3e3de4
Transpilation MD5: 3c5909cb97f5824b853d04fab9507388
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:26:03
Source code size: 289 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 152 / 213
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1027599 - byteBuddy_quicklyAddSubClass