Libraryless. Click here for Pure Java version (1840L/12K/40K).
!752 sclass A { B b; class B { A a() { ret A.this; } } } p { new A a; A.B b = a.new B; a.b = b; S s = structure(b); print(s); b = (A.B) unstructure(s); assertNotNull("b.a", b.a()); s = structure(a); print(s); a = (A) unstructure(s); assertNotNull("a", a); assertNotNull("a.b", a.b); assertSame("a.b.a", a, a.b.a()); }
Began life as a copy of #1004781
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1004783 | 
| Snippet name: | Try structure/unstructure with non-static self-referencing inner class | 
| Eternal ID of this version: | #1004783/1 | 
| Text MD5: | 2d2a90404cebcb499bfa721f84ea426f | 
| Transpilation MD5: | 93e5c95229317cc336b3ea9153ee6816 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX source code | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2016-08-30 23:10:57 | 
| Source code size: | 390 bytes / 27 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 835 / 969 | 
| Referenced in: | [show references] |