Top Description Methods
jdk.internal.module

pack-priv Interface SystemModules

Known Direct Implementers
jdk.internal.module.ExplodedSystemModules
Imports
java.lang.module.ModuleDescriptor, java.util.Map, .Set

A SystemModules object reconstitutes module descriptors and other modules attributes in an efficient way to avoid parsing module-info.class files at startup. Implementations of this class are generated by the "system modules" jlink plugin.
See Also
SystemModuleFinders, jdk.tools.jlink.internal.plugins.SystemModulesPlugin

Method Summary

Modifier and TypeMethod and Description
public boolean
hasIncubatorModules()

Return false if the modules reconstituted by this SystemModules object do not include any incubator modules.

public boolean
hasSplitPackages()

Returns false if the module reconstituted by this SystemModules object have no overlapping packages.

public ModuleDescriptor[]
moduleDescriptors()

Returns the non-empty array of ModuleDescriptor objects.

public ModuleHashes[]
moduleHashes()

Returns the array of ModuleHashes objects.

public Map<String, Set<String>>
moduleReads()

Returns the map representing readability graph for the modules reconstituted by this SystemModules object.

public ModuleResolution[]
moduleResolutions()

Returns the array of ModuleResolution objects.

public ModuleTarget[]
moduleTargets()

Returns the array of ModuleTarget objects.

Method Detail

hasIncubatorModulesback to summary
public boolean hasIncubatorModules()

Return false if the modules reconstituted by this SystemModules object do not include any incubator modules. Returns true if there are incubating modules or unknown.

hasSplitPackagesback to summary
public boolean hasSplitPackages()

Returns false if the module reconstituted by this SystemModules object have no overlapping packages. Returns true if there are overlapping packages or unknown.

moduleDescriptorsback to summary
public ModuleDescriptor[] moduleDescriptors()

Returns the non-empty array of ModuleDescriptor objects.

moduleHashesback to summary
public ModuleHashes[] moduleHashes()

Returns the array of ModuleHashes objects. The array elements correspond to the array of ModuleDescriptor objects.

moduleReadsback to summary
public Map<String, Set<String>> moduleReads()

Returns the map representing readability graph for the modules reconstituted by this SystemModules object.

moduleResolutionsback to summary
public ModuleResolution[] moduleResolutions()

Returns the array of ModuleResolution objects. The array elements correspond to the array of ModuleDescriptor objects.

moduleTargetsback to summary
public ModuleTarget[] moduleTargets()

Returns the array of ModuleTarget objects. The array elements correspond to the array of ModuleDescriptor objects.