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

14
LINES

< > BotCompany Repo | #1036445 // Examine how initializers & constructors are generated in byte code

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 679K of libraries. Click here for Pure Java version (10440L/57K).

!7

sclass Bla { int x = 1; }
sclass TwoConstructors {
  int x = 1;
  
  *() { x++; }
  *(int y) { x += y; }
}

p {
  disassembleClass(Bla);
  disassembleClass(TwoConstructors);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036445
Snippet name: Examine how initializers & constructors are generated in byte code
Eternal ID of this version: #1036445/1
Text MD5: ff9e922f56b4f718878f4bf86cbdb152
Transpilation MD5: dc4690c0b55f7b96552011c0f353f279
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-12-13 14:19:39
Source code size: 192 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 238 / 682
Referenced in: [show references]