Class ModuleFinder
java.lang.Object
nonapi.io.github.classgraph.classpath.ModuleFinder
A class to find the visible modules.
-
Constructor Summary
ConstructorsConstructorDescriptionModuleFinder(Class<?>[] callStack, ScanSpec scanSpec, boolean scanNonSystemModules, boolean scanSystemModules, ReflectionUtils reflectionUtils, LogNode log) A class to find the visible modules. -
Method Summary
-
Constructor Details
-
ModuleFinder
public ModuleFinder(Class<?>[] callStack, ScanSpec scanSpec, boolean scanNonSystemModules, boolean scanSystemModules, ReflectionUtils reflectionUtils, LogNode log) A class to find the visible modules.- Parameters:
callStack- the callstack.scanSpec- The scan spec.scanNonSystemModules- whether to scan unnamed and non-system modulesscanSystemModules- whether to scan system moduleslog- The log.
-
-
Method Details
-
getSystemModuleRefs
-
getNonSystemModuleRefs
-
forceScanJavaClassPath
public boolean forceScanJavaClassPath()Force scan java class path.- Returns:
- If true, must forcibly scan
java.class.path, since there was an anonymous module layer.
-