1 | // cache object -> (main class, field name) |
2 | static MultiMap<O, Pair<O, S>> cacheVarsOfAllMainClasses() { |
3 | MultiMap<O, Pair<O, S>> mm = identityMultiMap(); |
4 | for (O mc : allMainClasses()) |
5 | for (S field : allCacheVars(mc)) |
6 | mm.put(get(mc, field), pair(mc, field)); |
7 | ret mm; |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022120 |
Snippet name: | cacheVarsOfAllMainClasses |
Eternal ID of this version: | #1022120/1 |
Text MD5: | f483d2419df7533fe904aa738fbd5d90 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-07 23:31:10 |
Source code size: | 290 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 284 / 312 |
Referenced in: | [show references] |