Package net.bytebuddy.dynamic
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 Classes Modifier and Type Interface Description static classDynamicType.Builder.ModuleDefinition.OpensDefinition.Delegator<V>An abstract base implementation of aDynamicType.Builder.ModuleDefinition.OpensDefinition.-
Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.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 net.bytebuddy.dynamic.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DynamicType.Builder.ModuleDefinition.OpensDefinition<S>to(java.lang.String... module)Specifies the modules to which the previously defined package is opened.DynamicType.Builder.ModuleDefinition.OpensDefinition<S>to(java.util.Collection<java.lang.String> modules)Specifies the modules to which the previously defined package is opened.-
Methods inherited from interface net.bytebuddy.dynamic.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, wrap
-
Methods inherited from interface net.bytebuddy.dynamic.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 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.
-
-