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

16
LINES

< > BotCompany Repo | #1004781 // Try structure/unstructure with non-static inner class

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

Libraryless. Click here for Pure Java version (1769L/11K/39K).

!752

sclass A {
  class B {
    A a() { ret A.this; }
  }
}

p {
  new A a;
  A.B b = a.new B;
  S s = structure(b);
  print(s);
  b = (A.B) unstructure(s);
  assertNotNull(b.a());
}

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: 518 / 578
Referenced in: [show references]