Class DynamicType.Builder.AbstractBase.Adapter.ModuleDefinitionAdapter.ExportsDefinitionAdapter

    • Field Detail

      • aPackage

        private final java.lang.String aPackage
        The package that is being exported.
      • modifiers

        private final int modifiers
        The modifiers for the exporting declaration.
      • targets

        private final java.util.Set<java.lang.String> targets
        The modules to which the package is exported, or no modules if exported to all modules.
    • Constructor Detail

      • ExportsDefinitionAdapter

        protected ExportsDefinitionAdapter​(java.lang.String aPackage,
                                           int modifiers)
        Creates a new exporting definition adapter.
        Parameters:
        aPackage - The package that is being exported.
        modifiers - The modifiers for the exporting declaration.
      • ExportsDefinitionAdapter

        protected ExportsDefinitionAdapter​(java.lang.String aPackage,
                                           int modifiers,
                                           java.util.Set<java.lang.String> targets)
        Creates a new exporting definition adapter.
        Parameters:
        aPackage - The package that is being exported.
        modifiers - The modifiers for the exporting declaration.
        targets - The modules to which the package is exported, or no modules if exported to all modules.