Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1016405 // allLoadedLibrariesPlusLoadingProgramIDs - see where libraries were loaded

JavaX fragment (include)

1  
static MultiMap<S> allLoadedLibrariesPlusLoadingProgramIDs() {
2  
  new MultiMap<S> mm;
3  
  for (ClassLoader cl : allJavaXClassLoaders()) {
4  
    S progID = (S) getOpt(cl, 'progID);
5  
    L<File> files = cast getOpt(cl, 'files);
6  
    for (File f : dropFirst(files))
7  
      mm.put(DiskSnippetCache_fileToLibID(f), progID);
8  
  }
9  
  ret mm;
10  
}

Author comment

Began life as a copy of #1016346

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016405
Snippet name: allLoadedLibrariesPlusLoadingProgramIDs - see where libraries were loaded
Eternal ID of this version: #1016405/2
Text MD5: 1591ddf4e109d5fff4ac15458112271a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-17 13:58:26
Source code size: 335 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 329 / 384
Version history: 1 change(s)
Referenced in: [show references]