Uses of Class
java.lang.module.ModuleDescriptor.Requires
Package
Description
Classes to support module descriptors and creating configurations of modules
by means of resolution and service binding.
-
Uses of ModuleDescriptor.Requires in java.lang.module
Modifier and TypeMethodDescriptionModuleDescriptor.requires()
Returns the set ofRequires
objects representing the module dependences.Modifier and TypeMethodDescriptionint
ModuleDescriptor.Requires.compareTo(ModuleDescriptor.Requires that)
Compares this module dependence to another.ModuleDescriptor.Builder.requires(ModuleDescriptor.Requires req)
Adds a dependence on a module.