Libraryless. Click here for Pure Java version (770L/5K/18K).
1 | !7 |
2 | |
3 | sclass X { |
4 | bool a; |
5 | Bool b; |
6 | } |
7 | |
8 | p { |
9 | Class a = fieldType(X, "a"); |
10 | Class b = fieldType(X, "b"); |
11 | print(a + " / " + (a == bool.class) + " / " + (a == Bool.class)); |
12 | print(b + " / " + (b == bool.class) + " / " + (b == Bool.class)); |
13 | } |
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: | 502 / 565 |
Referenced in: | [show references] |