Libraryless. Click here for Pure Java version (4367L/28K).
1 | svoid test_ParameterizedTypeImpl() { |
2 | class X { LS bla; } |
3 | Type a = genericFieldType(X.class, "bla"); |
4 | Type b = ParameterizedTypeImpl(null, L.class, S.class); |
5 | assertEqualsBothDirectionsVerbose(a, b); |
6 | b = ParameterizedTypeImpl(null, L.class, L.class); |
7 | assertNotEqualsBothDirectionsVerbose(a, b); |
8 | b = ParameterizedTypeImpl(null, Optional.class, S.class); |
9 | assertNotEqualsBothDirectionsVerbose(a, b); |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1029598 |
Snippet name: | test_ParameterizedTypeImpl (OK) |
Eternal ID of this version: | #1029598/3 |
Text MD5: | 4aa916f05e2552f345fc29510a8897cc |
Transpilation MD5: | d970db1332e0cfb71503e957de453877 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-08-27 14:11:21 |
Source code size: | 420 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 186 / 291 |
Version history: | 2 change(s) |
Referenced in: | [show references] |