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

8
LINES

< > BotCompany Repo | #1033455 // loadAllClassesInByteCodePath - load all classes defined in a certain byte code path

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

Transpiled version (4612L) is out of date.

static int loadAllClassesInByteCodePath(File path) {
  int n = 0;
  for (S name : allClassNamesOnPath(ll(path))) pcall-short {
    Class.forName(name);
    ++n;
  }
  ret n;
}

Author comment

Began life as a copy of #1008508

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033455
Snippet name: loadAllClassesInByteCodePath - load all classes defined in a certain byte code path
Eternal ID of this version: #1033455/3
Text MD5: 1e9473f0312f44cd8e89824ec4d04240
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-28 18:41:47
Source code size: 182 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 99 / 146
Version history: 2 change(s)
Referenced in: [show references]