Class ModuleInfoReader.Opens

java.lang.Object
io.avaje.spi.internal.ModuleInfoReader.Opens
Enclosing class:
ModuleInfoReader

public static class ModuleInfoReader.Opens extends Object
An opened package of a module.
  • Constructor Details

  • Method Details

    • packageName

      public String packageName()
      Returns the name of the package being opened.
      Returns:
      the name of the package being opened
    • getPackage

      public PackageElement getPackage()
      Returns the package being opened.
      Returns:
      the package being opened
    • getTargetModules

      public List<ModuleElement> getTargetModules()
      Returns the specific modules to which the package is being open or null, if the package is open all modules which have readability to this module.
      Returns:
      the specific modules to which the package is being opened