# Uses of Enum Class
java.lang.module.ModuleDescriptor.Opens.Modifier

Packages that use ModuleDescriptor.Opens.Modifier
Package
Description
java.lang.module
Classes to support module descriptors and creating configurations of modules by means of resolution and service binding.

- ## Uses of ModuleDescriptor.Opens.Modifier in java.lang.module

  Methods in java.lang.module that return ModuleDescriptor.Opens.Modifier
  Modifier and Type
  Method
  Description
  `static ModuleDescriptor.Opens.Modifier`
  ModuleDescriptor.Opens.Modifier.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static ModuleDescriptor.Opens.Modifier[]`
  ModuleDescriptor.Opens.Modifier.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Methods in java.lang.module that return types with arguments of type ModuleDescriptor.Opens.Modifier
  Modifier and Type
  Method
  Description
  `Set<ModuleDescriptor.Opens.Modifier>`
  ModuleDescriptor.Opens.`modifiers()`
  Returns the set of modifiers.
  Method parameters in java.lang.module with type arguments of type ModuleDescriptor.Opens.Modifier
  Modifier and Type
  Method
  Description
  `ModuleDescriptor.Builder`
  ModuleDescriptor.Builder.`opens(Set<ModuleDescriptor.Opens.Modifier> ms, String pn)`
  Adds an open package with the given (and possibly empty) set of modifiers.
  `ModuleDescriptor.Builder`
  ModuleDescriptor.Builder.`opens(Set<ModuleDescriptor.Opens.Modifier> ms, String pn, Set<String> targets)`
  Adds an open package with the given (and possibly empty) set of modifiers.