Package io.github.classgraph.utils
Class ClasspathFinder
- java.lang.Object
-
- io.github.classgraph.utils.ClasspathFinder
-
public class ClasspathFinder extends Object
A class to find the unique ordered classpath elements.
-
-
Constructor Summary
Constructors Constructor Description ClasspathFinder(ScanSpec scanSpec, NestedJarHandler nestedJarHandler, LogNode log)A class to find the unique ordered classpath elements.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassLoaderAndModuleFindergetClassLoaderAndModuleFinder()List<ClasspathOrModulePathEntry>getRawClasspathElements()
-
-
-
Constructor Detail
-
ClasspathFinder
public ClasspathFinder(ScanSpec scanSpec, NestedJarHandler nestedJarHandler, LogNode log)
A class to find the unique ordered classpath elements.- Parameters:
scanSpec- TheScanSpec.nestedJarHandler- TheNestedJarHandler.log- The log.
-
-
Method Detail
-
getRawClasspathElements
public List<ClasspathOrModulePathEntry> getRawClasspathElements()
- Returns:
- The raw classpath elements obtained from ClassLoaders.
-
getClassLoaderAndModuleFinder
public ClassLoaderAndModuleFinder getClassLoaderAndModuleFinder()
- Returns:
- The
ClassLoaderAndModuleFinder.
-
-