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

11
LINES

< > BotCompany Repo | #1031585 // test_getSlashSet

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2821L/17K).

svoid test_getSlashSet() {
  class X {
    S bla;
  }
  
  new X x;
  var getSet = get/set bla(x);
  getSet.set("yo");
  assertEqualsVerbose("yo", getSet.get());
  assertEqualsVerbose("yo", x.bla);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031585
Snippet name: test_getSlashSet
Eternal ID of this version: #1031585/1
Text MD5: eccdff3f75b1081529fd316300a72974
Transpilation MD5: 410dfe2323779d1faca5a15e840145f7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-22 06:50:54
Source code size: 209 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 154 / 214
Referenced in: [show references]