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

11
LINES

< > BotCompany Repo | #1025130 // Crazy non-static inner classes subclassing experiment (whoa, actually works)

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

Download Jar. Libraryless. Click here for Pure Java version (36L/1K).

!7

sclass A {
  class InnerA {}
}

sclass B extends A {
  class InnerB extends InnerA {}
  
  *() { new InnerB; }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025130
Snippet name: Crazy non-static inner classes subclassing experiment (whoa, actually works)
Eternal ID of this version: #1025130/3
Text MD5: 187b0333149df5d58cad2d34994ac1db
Transpilation MD5: 680ff3e99179e861418e4539304ff6a5
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-08 16:31:47
Source code size: 126 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 307 / 787
Version history: 2 change(s)
Referenced in: [show references]