S - A loaded type that the built type is guaranteed to be a subclass of.public static interface DynamicType.Builder.ModuleDefinition.OpensDefinition<S> extends DynamicType.Builder.ModuleDefinition<S>
| Modifier and Type | Interface and Description |
|---|---|
static class |
DynamicType.Builder.ModuleDefinition.OpensDefinition.Delegator<V>
An abstract base implementation of a
DynamicType.Builder.ModuleDefinition.OpensDefinition. |
DynamicType.Builder.ModuleDefinition.AbstractBase<U>, DynamicType.Builder.ModuleDefinition.ExportsDefinition<U>, DynamicType.Builder.ModuleDefinition.OpensDefinition<S>, DynamicType.Builder.ModuleDefinition.RequiresDefinition<U>DynamicType.Builder.FieldDefinition<S>, DynamicType.Builder.InnerTypeDefinition<S>, DynamicType.Builder.MethodDefinition<S>, DynamicType.Builder.ModuleDefinition<S>, DynamicType.Builder.RecordComponentDefinition<S>, DynamicType.Builder.TypeVariableDefinition<S>| Modifier and Type | Method and Description |
|---|---|
DynamicType.Builder.ModuleDefinition.OpensDefinition<S> |
to(Collection<String> modules)
Specifies the modules to which the previously defined package is opened.
|
DynamicType.Builder.ModuleDefinition.OpensDefinition<S> |
to(String... module)
Specifies the modules to which the previously defined package is opened.
|
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, versionadjustModule, 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, wrapDynamicType.Builder.ModuleDefinition.OpensDefinition<S> to(String... module)
module - The names of the modules to which the package is opened.DynamicType.Builder.ModuleDefinition.OpensDefinition<S> to(Collection<String> modules)
modules - The names of the modules to which the package is opened.Copyright © 2014–2025. All rights reserved.