Libraryless. Click here for Pure Java version (770L/5K/18K).
!7 sclass X { bool a; Bool b; } p { Class a = fieldType(X, "a"); Class b = fieldType(X, "b"); print(a + " / " + (a == bool.class) + " / " + (a == Bool.class)); print(b + " / " + (b == bool.class) + " / " + (b == Bool.class)); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1007116 |
Snippet name: | Test fieldType on bool / Bool |
Eternal ID of this version: | #1007116/1 |
Text MD5: | 9a022c5e0311fe241c1b11a5d6509bec |
Transpilation MD5: | b920e93ecbc5797701d37471a6df37b5 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-03-04 16:38:37 |
Source code size: | 253 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 501 / 564 |
Referenced in: | -