| Package | Description |
|---|---|
| net.bytebuddy |
Byte Buddy is a library for creating Java classes at runtime of a Java program.
|
| net.bytebuddy.dynamic |
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
|
| net.bytebuddy.dynamic.scaffold.inline |
All classes and types in this package are related to creating a
DynamicType by
enhancing a given type. |
| Modifier and Type | Method and Description |
|---|---|
DynamicType.Builder.ModuleDefinition<?> |
ByteBuddy.makeModule(String name,
Collection<? extends ModifierContributor.ForModule> modifierContributors)
Creates a new module with the given name.
|
DynamicType.Builder.ModuleDefinition<?> |
ByteBuddy.makeModule(String name,
ModifierContributor.ForModule... modifierContributor)
Creates a new module with the given name.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
DynamicType.Builder.ModuleDefinition.ExportsDefinition<U>
A specification of a module export.
|
static interface |
DynamicType.Builder.ModuleDefinition.OpensDefinition<S>
A specification of a module opening.
|
static interface |
DynamicType.Builder.ModuleDefinition.RequiresDefinition<U>
A specification of a module requirement.
|
| Modifier and Type | Method and Description |
|---|---|
DynamicType.Builder.ModuleDefinition<T> |
DynamicType.Builder.adjustModule(Collection<? extends ModifierContributor.ForModule> modifierContributors)
Adjusts a previous module definition in this class file.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.AbstractBase.Delegator.adjustModule(Collection<? extends ModifierContributor.ForModule> modifierContributors)
Adjusts a previous module definition in this class file.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.adjustModule(Collection<? extends ModifierContributor.ForModule> modifierContributors)
Adjusts a previous module definition in this class file.
|
DynamicType.Builder.ModuleDefinition<T> |
DynamicType.Builder.adjustModule(ModifierContributor.ForModule... modifierContributor)
Adjusts a previous module definition in this class file.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.AbstractBase.adjustModule(ModifierContributor.ForModule... modifierContributor)
Adjusts a previous module definition in this class file.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.AbstractBase.Delegator.adjustModule(ModifierContributor.ForModule... modifierContributor)
Adjusts a previous module definition in this class file.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.export(String aPackage,
Collection<? extends ModifierContributor.ForModule.OfExport> modifierContributors)
Specifies a package export with additional modifiers.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.export(String aPackage,
Collection<? extends ModifierContributor.ForModule.OfExport> modifierContributors)
Specifies a package export with additional modifiers.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.export(String aPackage,
int modifiers)
Specifies a package export with explicit modifiers.
|
DynamicType.Builder.ModuleDefinition<V> |
DynamicType.Builder.ModuleDefinition.AbstractBase.Delegator.export(String aPackage,
int modifiers)
Specifies a package export with explicit modifiers.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.export(String aPackage,
ModifierContributor.ForModule.OfExport... modifierContributor)
Specifies a package export with additional modifiers.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.export(String aPackage,
ModifierContributor.ForModule.OfExport... modifierContributor)
Specifies a package export with additional modifiers.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.exports(Collection<String> packages)
Specifies packages that are exported by the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.exports(Collection<String> packages)
Specifies packages that are exported by the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.exports(String... aPackage)
Specifies packages that are exported by the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.exports(String... aPackage)
Specifies packages that are exported by the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.mainClass(Class<?> type)
Specifies the main class of the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.mainClass(Class<?> type)
Specifies the main class of the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.mainClass(String name)
Specifies the main class of the module being defined.
|
DynamicType.Builder.ModuleDefinition<V> |
DynamicType.Builder.ModuleDefinition.AbstractBase.Delegator.mainClass(String name)
Specifies the main class of the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.ModuleDefinitionAdapter.mainClass(String name)
Specifies the main class of the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.mainClass(TypeDescription typeDescription)
Specifies the main class of the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.mainClass(TypeDescription typeDescription)
Specifies the main class of the module being defined.
|
protected abstract DynamicType.Builder.ModuleDefinition<V> |
DynamicType.Builder.ModuleDefinition.AbstractBase.Delegator.materialize() |
protected DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.ModuleDefinitionAdapter.RequiresDefinitionAdapter.materialize() |
protected DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.ModuleDefinitionAdapter.ExportsDefinitionAdapter.materialize() |
protected DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.ModuleDefinitionAdapter.OpensDefinitionAdapter.materialize() |
DynamicType.Builder.ModuleDefinition<T> |
DynamicType.Builder.module(String name,
Collection<? extends ModifierContributor.ForModule> modifierContributors)
Includes a module definition in this class file.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.AbstractBase.module(String name,
Collection<? extends ModifierContributor.ForModule> modifierContributors)
Includes a module definition in this class file.
|
DynamicType.Builder.ModuleDefinition<T> |
DynamicType.Builder.module(String name,
int modifiers)
Includes a module definition in this class file.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.AbstractBase.Delegator.module(String name,
int modifiers)
Includes a module definition in this class file.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.module(String name,
int modifiers)
Includes a module definition in this class file.
|
DynamicType.Builder.ModuleDefinition<T> |
DynamicType.Builder.module(String name,
ModifierContributor.ForModule... modifierContributors)
Includes a module definition in this class file.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.AbstractBase.module(String name,
ModifierContributor.ForModule... modifierContributors)
Includes a module definition in this class file.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.open(String aPackage,
Collection<? extends ModifierContributor.ForModule.OfOpen> modifierContributors)
Specifies a package opening with additional modifiers.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.open(String aPackage,
Collection<? extends ModifierContributor.ForModule.OfOpen> modifierContributors)
Specifies a package opening with additional modifiers.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.open(String aPackage,
int modifiers)
Specifies a package opening with explicit modifiers.
|
DynamicType.Builder.ModuleDefinition<V> |
DynamicType.Builder.ModuleDefinition.AbstractBase.Delegator.open(String aPackage,
int modifiers)
Specifies a package opening with explicit modifiers.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.open(String aPackage,
ModifierContributor.ForModule.OfOpen... modifierContributor)
Specifies a package opening with additional modifiers.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.open(String aPackage,
ModifierContributor.ForModule.OfOpen... modifierContributor)
Specifies a package opening with additional modifiers.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.opens(Collection<String> packages)
Specifies packages that are opened by the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.opens(Collection<String> packages)
Specifies packages that are opened by the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.opens(String... aPackage)
Specifies packages that are opened by the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.opens(String... aPackage)
Specifies packages that are opened by the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.packages(Collection<String> packages)
Specifies the packages that are contained within the module being defined.
|
DynamicType.Builder.ModuleDefinition<V> |
DynamicType.Builder.ModuleDefinition.AbstractBase.Delegator.packages(Collection<String> packages)
Specifies the packages that are contained within the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.ModuleDefinitionAdapter.packages(Collection<String> packages)
Specifies the packages that are contained within the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.packages(String... aPackage)
Specifies the packages that are contained within the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.packages(String... aPackage)
Specifies the packages that are contained within the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.provides(Class<?> service,
Class<?>... implementation)
Specifies service implementations that are provided by the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.provides(Class<?> service,
Class<?>... implementations)
Specifies service implementations that are provided by the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.provides(Class<?> service,
Collection<Class<?>> implementations)
Specifies service implementations that are provided by the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.provides(Class<?> service,
Collection<Class<?>> implementations)
Specifies service implementations that are provided by the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.provides(String service,
Collection<String> implementations)
Specifies service implementations that are provided by the module being defined.
|
DynamicType.Builder.ModuleDefinition<V> |
DynamicType.Builder.ModuleDefinition.AbstractBase.Delegator.provides(String service,
Collection<String> implementations)
Specifies service implementations that are provided by the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.ModuleDefinitionAdapter.provides(String service,
Collection<String> implementations)
Specifies service implementations that are provided by the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.provides(String service,
String... implementation)
Specifies service implementations that are provided by the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.provides(String service,
String... implementations)
Specifies service implementations that are provided by the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.provides(TypeDescription service,
Collection<TypeDescription> implementations)
Specifies service implementations that are provided by the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.provides(TypeDescription service,
Collection<TypeDescription> implementations)
Specifies service implementations that are provided by the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.provides(TypeDescription service,
TypeDescription... implementation)
Specifies service implementations that are provided by the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.provides(TypeDescription service,
TypeDescription... implementation)
Specifies service implementations that are provided by the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.requires(Collection<String> modules)
Specifies the modules that are required by the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.requires(Collection<String> modules)
Specifies the modules that are required by the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.requires(String... module)
Specifies the modules that are required by the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.requires(String... module)
Specifies the modules that are required by the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.uses(Class<?>... service)
Specifies services that are used by the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.uses(Class<?>... service)
Specifies services that are used by the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.uses(Collection<String> services)
Specifies services that are used by the module being defined.
|
DynamicType.Builder.ModuleDefinition<V> |
DynamicType.Builder.ModuleDefinition.AbstractBase.Delegator.uses(Collection<String> services)
Specifies services that are used by the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.ModuleDefinitionAdapter.uses(Collection<String> services)
Specifies services that are used by the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.uses(String... service)
Specifies services that are used by the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.uses(String... service)
Specifies services that are used by the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.uses(TypeDescription... service)
Specifies services that are used by the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.ModuleDefinition.AbstractBase.uses(TypeDescription... service)
Specifies services that are used by the module being defined.
|
DynamicType.Builder.ModuleDefinition<S> |
DynamicType.Builder.ModuleDefinition.version(String version)
Specifies the version of the module being defined.
|
DynamicType.Builder.ModuleDefinition<V> |
DynamicType.Builder.ModuleDefinition.AbstractBase.Delegator.version(String version)
Specifies the version of the module being defined.
|
DynamicType.Builder.ModuleDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.ModuleDefinitionAdapter.version(String version)
Specifies the version of the module being defined.
|
| Modifier and Type | Method and Description |
|---|---|
DynamicType.Builder.ModuleDefinition<T> |
DecoratingDynamicTypeBuilder.adjustModule(Collection<? extends ModifierContributor.ForModule> modifierContributors)
Adjusts a previous module definition in this class file.
|
DynamicType.Builder.ModuleDefinition<T> |
DecoratingDynamicTypeBuilder.module(String name,
int modifiers)
Includes a module definition in this class file.
|
Copyright © 2014–2025. All rights reserved.