MCPcopy Create free account
hub / github.com/antlr/codebuff / scanFrom

Method scanFrom

output/java_guava/1.4.17/ClassPath.java:384–393  ·  view source on GitHub ↗
(File file, ClassLoader classloader)

Source from the content-addressed store, hash-verified

382 }
383
384 private void scanFrom(File file, ClassLoader classloader) throws IOException {
385 if (!file.exists()) {
386 return;
387 }
388 if (file.isDirectory()) {
389 scanDirectory(classloader, file);
390 } else {
391 scanJar(file, classloader);
392 }
393 }
394
395 private void scanJar(File file, ClassLoader classloader) throws IOException {
396 JarFile jarFile;

Callers 1

scanMethod · 0.95

Calls 3

scanDirectoryMethod · 0.95
scanJarMethod · 0.95
isDirectoryMethod · 0.45

Tested by

no test coverage detected