Interface ModuleDescription.ForLoadedModule.ModuleDescriptor.Exports

Enclosing interface:
ModuleDescription.ForLoadedModule.ModuleDescriptor

@Proxied("java.lang.module.ModuleDescriptor$Exports") public static interface ModuleDescription.ForLoadedModule.ModuleDescriptor.Exports
A proxy for interacting with java.lang.ModuleDescriptor.Exports.
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<Enum<?>>
    Returns the modifiers of the exports declaration.
    source(Object value)
    Returns the source package name for this export.
    targets(Object value)
    Returns the target modules for this export.
  • Method Details

    • source

      String source(Object value)
      Returns the source package name for this export.
      Parameters:
      value - The java.lang.ModuleDescriptor.Exports instance.
      Returns:
      The source package name.
    • modifiers

      Set<Enum<?>> modifiers(Object value)
      Returns the modifiers of the exports declaration.
      Parameters:
      value - The java.lang.ModuleDescriptor.Exports instance.
      Returns:
      The modifiers of the exports declaration.
    • targets

      Set<String> targets(Object value)
      Returns the target modules for this export.
      Parameters:
      value - The java.lang.ModuleDescriptor.Exports instance.
      Returns:
      The target modules for this export.