Interface DynamicType.Builder.ModuleDefinition.OpensDefinition<S>

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

public static interface DynamicType.Builder.ModuleDefinition.OpensDefinition<S> extends DynamicType.Builder.ModuleDefinition<S>
A specification of a module opening.
  • Method Details

    • to

      Specifies the modules to which the previously defined package is opened.
      Parameters:
      module - The names of the modules to which the package is opened.
      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 opened.
      Parameters:
      modules - The names of the modules to which the package is opened.
      Returns:
      A new builder that is equal to this builder but with the given modules specified.