1 | static Class getTypeArgumentAsClass(Type type) {
|
2 | if (type cast ParameterizedType) |
3 | ret typeToClass(first(type.getActualTypeArguments())); |
4 | null; |
5 | } |
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: | #1029587 |
| Snippet name: | getTypeArgumentAsClass |
| Eternal ID of this version: | #1029587/1 |
| Text MD5: | f67223e40d02e0e82dbdf27a23f8fde3 |
| Author: | stefan |
| Category: | javax / reflection |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-08-27 13:01:11 |
| Source code size: | 156 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 557 / 570 |
| Referenced in: | [show references] |