Interface DynamicType.Builder.ModuleDefinition.OpensDefinition<S>

    • Method Detail

      • to

        DynamicType.Builder.ModuleDefinition.OpensDefinition<S> to​(java.lang.String... module)
        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

        DynamicType.Builder.ModuleDefinition.OpensDefinition<S> to​(java.util.Collection<java.lang.String> modules)
        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.