| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private static final String | |
| private static final String | |
| private final Map | |
| private final PrintStream | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| private void | |
| private void | process(ModuleReference mref)
Prints the module location and name, checks if the module is shadowed by a previously seen module, and finally checks for package conflicts with previously seen modules. |
| private void | |
| pack-priv static int | Returns: the number of errors foundthe print stream for output messages out)Scans and the validates all modules on the module path. |
| private void | |
| private Optional |
| errorCount | back to summary |
|---|---|
| private int errorCount | |
| INDENT | back to summary |
|---|---|
| private static final String INDENT | |
| MODULE_INFO | back to summary |
|---|---|
| private static final String MODULE_INFO | |
| nameToModule | back to summary |
|---|---|
| private final Map<String, ModuleReference> nameToModule | |
| out | back to summary |
|---|---|
| private final PrintStream out | |
| packageToModule | back to summary |
|---|---|
| private final Map<String, ModuleReference> packageToModule | |
| ModulePathValidator | back to summary |
|---|---|
| private ModulePathValidator(PrintStream out) | |
| isJrt | back to summary |
|---|---|
| private static boolean isJrt(URI uri) Returns true if the given URI is a jrt URI | |
| printModule | back to summary |
|---|---|
| private void printModule(ModuleReference mref) Prints the module location and name. | |
| process | back to summary |
|---|---|
| private void process(ModuleReference mref) Prints the module location and name, checks if the module is shadowed by a previously seen module, and finally checks for package conflicts with previously seen modules. | |
| scan | back to summary |
|---|---|
| private void scan(Path entry) Scan an element on a module path. The element is a directory of modules, an exploded module, or a JAR file. | |
| scanAllModules | back to summary |
|---|---|
| pack-priv static int scanAllModules(PrintStream out) Scans and the validates all modules on the module path. The module path comprises the upgrade module path, system modules, and the application module path.
| |
| scanDirectory | back to summary |
|---|---|
| private void scanDirectory(Path dir) Scan the JAR files and exploded modules in a directory. | |
| scanModule | back to summary |
|---|---|
| private Optional Scan a JAR file or exploded module. | |