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)

static MultiMap<S> allLoadedLibrariesPlusLoadingProgramIDs() {
  new MultiMap<S> mm;
  for (ClassLoader cl : allJavaXClassLoaders()) {
    S progID = (S) getOpt(cl, 'progID);
    L<File> files = cast getOpt(cl, 'files);
    for (File f : dropFirst(files))
      mm.put(DiskSnippetCache_fileToLibID(f), progID);
  }
  ret mm;
}

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: 330 / 384
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)