Uses of Enum Class
java.lang.module.ModuleDescriptor.Requires.Modifier
Package
Description
Classes to support module descriptors and creating configurations of modules
by means of resolution and service binding.
-
Uses of ModuleDescriptor.Requires.Modifier in java.lang.module
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ModuleDescriptor.Requires.Modifier[]
ModuleDescriptor.Requires.Modifier.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionModuleDescriptor.Requires.modifiers()
Returns the set of modifiers.Modifier and TypeMethodDescriptionModuleDescriptor.Builder.requires
(Set<ModuleDescriptor.Requires.Modifier> ms, String mn) Adds a dependence on a module with the given (and possibly empty) set of modifiers.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.