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.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn abstract base implementation of aDynamicType.Builder.ModuleDefinition.OpensDefinition.Nested classes/interfaces inherited from interface DynamicType.Builder
DynamicType.Builder.FieldDefinition<S>, DynamicType.Builder.InnerTypeDefinition<S>, DynamicType.Builder.MethodDefinition<S>, DynamicType.Builder.ModuleDefinition<S>, DynamicType.Builder.RecordComponentDefinition<S>, DynamicType.Builder.TypeVariableDefinition<S>Nested classes/interfaces inherited from interface DynamicType.Builder.ModuleDefinition
DynamicType.Builder.ModuleDefinition.AbstractBase<U>, DynamicType.Builder.ModuleDefinition.ExportsDefinition<U>, DynamicType.Builder.ModuleDefinition.OpensDefinition<S>, DynamicType.Builder.ModuleDefinition.RequiresDefinition<U> -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the modules to which the previously defined package is opened.to(Collection<String> modules) Specifies the modules to which the previously defined package is opened.Methods inherited from interface DynamicType.Builder
adjustModule, adjustModule, annotateType, annotateType, annotateType, annotateType, attribute, constructor, declaredTypes, declaredTypes, declaredTypes, declaredTypes, define, define, define, define, define, define, defineConstructor, defineConstructor, defineConstructor, defineField, defineField, defineField, defineField, defineField, defineField, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, defineProperty, defineProperty, defineProperty, defineProperty, defineRecordComponent, defineRecordComponent, field, field, ignoreAlso, ignoreAlso, implement, implement, implement, implement, initializer, initializer, innerTypeOf, innerTypeOf, innerTypeOf, innerTypeOf, innerTypeOf, invokable, invokable, make, make, make, make, merge, merge, method, modifiers, modifiers, modifiers, module, module, module, name, nestHost, nestHost, nestMembers, nestMembers, nestMembers, nestMembers, noNestMate, permittedSubclass, permittedSubclass, permittedSubclass, permittedSubclass, recordComponent, recordComponent, require, require, require, require, serialVersionUid, suffix, topLevelType, toTypeDescription, transform, typeVariable, typeVariable, typeVariable, typeVariable, typeVariable, unsealed, visit, withHashCodeEquals, withToString, wrap, wrap, wrap, wrapMethods inherited from interface DynamicType.Builder.ModuleDefinition
export, export, export, exports, exports, mainClass, mainClass, mainClass, open, open, open, opens, opens, packages, packages, provides, provides, provides, provides, provides, provides, require, require, require, requires, requires, uses, uses, uses, uses, version
-
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.
-