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

9
LINES

< > BotCompany Repo | #1031553 // classLoaderPathsCount

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2811L/17K).

// works for JavaXClassLoader

static int classLoaderPathsCount(Class c) {
  ret classLoaderPathsCount(getClassLoader(c));
}

static int classLoaderPathsCount(ClassLoader cl) {
  ret l(filesFromClassLoader_new(cl));
}

Author comment

Began life as a copy of #1031394

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031553
Snippet name: classLoaderPathsCount
Eternal ID of this version: #1031553/3
Text MD5: bbf0b3efde59aa8040ea177934fe3dbc
Transpilation MD5: 38b8067b9adf20db71cd635e81c8515f
Author: stefan
Category: javax / byte code
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-21 23:07:11
Source code size: 225 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 170 / 221
Version history: 2 change(s)
Referenced in: [show references]