Libraryless. Click here for Pure Java version (1769L/11K/39K).
1 | !752 |
2 | |
3 | sclass A {
|
4 | class B {
|
5 | A a() { ret A.this; }
|
6 | } |
7 | } |
8 | |
9 | p {
|
10 | new A a; |
11 | A.B b = a.new B; |
12 | S s = structure(b); |
13 | print(s); |
14 | b = (A.B) unstructure(s); |
15 | assertNotNull(b.a()); |
16 | } |
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: | #1004781 |
| Snippet name: | Try structure/unstructure with non-static inner class |
| Eternal ID of this version: | #1004781/1 |
| Text MD5: | e36959d7d7c9346fdec20c404e638f44 |
| Transpilation MD5: | 8488ea578fac1e1738ced300d5b94be4 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-08-30 22:48:30 |
| Source code size: | 198 bytes / 16 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 877 / 1009 |
| Referenced in: | [show references] |