| Package | Description |
|---|---|
| net.bytebuddy.description.module |
Contains descriptions of Java modules.
|
| net.bytebuddy.description.type |
Contains descriptions of Java types and packages.
|
| net.bytebuddy.dynamic.scaffold |
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
|
| net.bytebuddy.pool |
Classes of this package allow for the creating
TypeDescriptions without
loading any classes. |
| net.bytebuddy.utility |
This package contains utility classes for common use within any Byte Buddy logic.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
ModuleDescription.AbstractBase
An abstract base implementation of a
ModuleDescription. |
static class |
ModuleDescription.ForLoadedModule
A
ModuleDescription implementation that represents a loaded Java module. |
static class |
ModuleDescription.Latent
A latent description of a module.
|
| Modifier and Type | Field and Description |
|---|---|
static ModuleDescription |
ModuleDescription.UNDEFINED
Defines a module that is not resolved.
|
| Modifier and Type | Method and Description |
|---|---|
static ModuleDescription |
ModuleDescription.ForLoadedModule.of(Object module)
Creates a module description for the supplied module.
|
| Modifier and Type | Method and Description |
|---|---|
ModuleDescription |
TypeDescription.toModuleDescription()
Returns a representation of a Java module that is represented by this type description, normally a
module-info.class file. |
ModuleDescription |
TypeDescription.AbstractBase.OfSimpleType.WithDelegation.toModuleDescription()
Returns a representation of a Java module that is represented by this type description, normally a
module-info.class file. |
ModuleDescription |
TypeDescription.ForLoadedType.toModuleDescription()
Returns a representation of a Java module that is represented by this type description, normally a
module-info.class file. |
ModuleDescription |
TypeDescription.ArrayProjection.toModuleDescription()
Returns a representation of a Java module that is represented by this type description, normally a
module-info.class file. |
ModuleDescription |
TypeDescription.Latent.toModuleDescription()
Returns a representation of a Java module that is represented by this type description, normally a
module-info.class file. |
ModuleDescription |
TypeDescription.ForPackageDescription.toModuleDescription()
Returns a representation of a Java module that is represented by this type description, normally a
module-info.class file. |
ModuleDescription |
TypeDescription.SuperTypeLoading.toModuleDescription()
Returns a representation of a Java module that is represented by this type description, normally a
module-info.class file. |
| Modifier and Type | Method and Description |
|---|---|
ModuleDescription |
InstrumentedType.Default.toModuleDescription()
Returns a representation of a Java module that is represented by this type description, normally a
module-info.class file. |
ModuleDescription |
InstrumentedType.Frozen.toModuleDescription()
Returns a representation of a Java module that is represented by this type description, normally a
module-info.class file. |
| Modifier and Type | Method and Description |
|---|---|
InstrumentedType |
InstrumentedType.withModuleDescription(ModuleDescription moduleDescription)
Creates a new instrumented type that defines the provided module metadata or no such metadata
if
null is provided. |
InstrumentedType.WithFlexibleName |
InstrumentedType.WithFlexibleName.withModuleDescription(ModuleDescription moduleDescription)
Creates a new instrumented type that defines the provided module metadata or no such metadata
if
null is provided. |
InstrumentedType.WithFlexibleName |
InstrumentedType.Default.withModuleDescription(ModuleDescription moduleDescription) |
InstrumentedType.WithFlexibleName |
InstrumentedType.Frozen.withModuleDescription(ModuleDescription moduleDescription)
Creates a new instrumented type that defines the provided module metadata or no such metadata
if
null is provided. |
| Constructor and Description |
|---|
CreationClassVisitor(ClassVisitor classVisitor,
Implementation.Context.ExtractableView implementationContext,
ModuleDescription moduleDescription)
Creates a new wrapper visitor.
|
Default(String name,
int modifiers,
ModuleDescription moduleDescription,
List<? extends TypeVariableToken> typeVariables,
TypeDescription.Generic superClass,
List<? extends TypeDescription.Generic> interfaceTypes,
List<? extends FieldDescription.Token> fieldTokens,
Map<String,Object> auxiliaryFieldValues,
List<? extends MethodDescription.Token> methodTokens,
List<? extends RecordComponentDescription.Token> recordComponentTokens,
List<? extends AnnotationDescription> annotationDescriptions,
TypeInitializer typeInitializer,
LoadedTypeInitializer loadedTypeInitializer,
TypeDescription declaringType,
MethodDescription.InDefinedShape enclosingMethod,
TypeDescription enclosingType,
List<? extends TypeDescription> declaredTypes,
List<? extends TypeDescription> permittedSubclasses,
boolean anonymousClass,
boolean localClass,
boolean record,
TypeDescription nestHost,
List<? extends TypeDescription> nestMembers)
Creates a new instrumented type.
|
PatchingModuleVisitor(ModuleVisitor moduleVisitor,
ModuleDescription moduleDescription)
Creates a module visitor that patches the module implementation.
|
| Modifier and Type | Method and Description |
|---|---|
ModuleDescription |
TypePool.Default.LazyTypeDescription.toModuleDescription()
Returns a representation of a Java module that is represented by this type description, normally a
module-info.class file. |
| Modifier and Type | Method and Description |
|---|---|
ModuleDescription |
JavaModule.toDescription()
Returns a description of the module if the current module is a named module.
|
Copyright © 2014–2025. All rights reserved.