Interface DynamicType.Builder.ModuleDefinition.ExportsDefinition<U>

Type Parameters:
U - A loaded type that the built type is guaranteed to be a subclass of.
All Superinterfaces:
DynamicType.Builder<U>, DynamicType.Builder.ModuleDefinition<U>
All Known Implementing Classes:
DynamicType.Builder.AbstractBase.Adapter.ModuleDefinitionAdapter.ExportsDefinitionAdapter, DynamicType.Builder.ModuleDefinition.ExportsDefinition.Delegator
Enclosing interface:
DynamicType.Builder.ModuleDefinition<S>

public static interface DynamicType.Builder.ModuleDefinition.ExportsDefinition<U> extends DynamicType.Builder.ModuleDefinition<U>
A specification of a module export.
  • Method Details

    • to

      Specifies the modules to which the previously defined package is exported.
      Parameters:
      module - The names of the modules to which the package is exported.
      Returns:
      A new builder that is equal to this builder but with the given modules specified.
    • to

      Specifies the modules to which the previously defined package is exported.
      Parameters:
      modules - The names of the modules to which the package is exported.
      Returns:
      A new builder that is equal to this builder but with the given modules specified.