Uses of Class
java.lang.module.ModuleDescriptor.Version
Package
Description
Classes to support module descriptors and creating configurations of modules
by means of resolution and service binding.
-
Uses of ModuleDescriptor.Version in java.lang.module
Modifier and TypeMethodDescriptionstatic ModuleDescriptor.Version
Parses the given string as a version string.Modifier and TypeMethodDescriptionModuleDescriptor.Requires.compiledVersion()
Returns the version of the module if recorded at compile-time.ModuleDescriptor.version()
Returns the module version.Modifier and TypeMethodDescriptionint
ModuleDescriptor.Version.compareTo
(ModuleDescriptor.Version that) Compares this module version to another module version.ModuleDescriptor.Builder.requires
(Set<ModuleDescriptor.Requires.Modifier> ms, String mn, ModuleDescriptor.Version compiledVersion) Adds a dependence on a module with the given (and possibly empty) set of modifiers.ModuleDescriptor.Builder.version
(ModuleDescriptor.Version v) Sets the module version.