Package | Description |
---|---|
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 |
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
|
net.bytebuddy.dynamic.scaffold.inline |
All classes and types in this package are related to creating a
DynamicType by
enhancing a given type. |
net.bytebuddy.dynamic.scaffold.subclass |
All classes and types in this package are related to creating a
DynamicType by
creating a subclass of a given type. |
Modifier and Type | Method and Description |
---|---|
protected abstract TypeWriter<U> |
DynamicType.Builder.AbstractBase.UsingTypeWriter.toTypeWriter()
Creates a
TypeWriter without an explicitly specified TypePool . |
protected abstract TypeWriter<U> |
DynamicType.Builder.AbstractBase.UsingTypeWriter.toTypeWriter(TypePool typePool)
Creates a
TypeWriter given the specified TypePool . |
Modifier and Type | Class and Description |
---|---|
static class |
TypeWriter.Default<S>
A default implementation of a
TypeWriter . |
static class |
TypeWriter.Default.ForCreation<U>
A type writer that creates a class file that is not based upon another, existing class.
|
static class |
TypeWriter.Default.ForInlining<U>
A type writer that inlines the created type into an existing class file.
|
protected static class |
TypeWriter.Default.ForInlining.WithDecorationOnly<V>
A default type writer that only applies a type decoration.
|
protected static class |
TypeWriter.Default.ForInlining.WithFullProcessing<V>
A default type writer that reprocesses a type completely.
|
Modifier and Type | Method and Description |
---|---|
static <U> TypeWriter<U> |
TypeWriter.Default.forCreation(MethodRegistry.Compiled methodRegistry,
List<? extends DynamicType> auxiliaryTypes,
TypeWriter.FieldPool fieldPool,
TypeWriter.RecordComponentPool recordComponentPool,
TypeAttributeAppender typeAttributeAppender,
AsmVisitorWrapper asmVisitorWrapper,
ClassFileVersion classFileVersion,
AnnotationValueFilter.Factory annotationValueFilterFactory,
AnnotationRetention annotationRetention,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
TypeValidation typeValidation,
ClassWriterStrategy classWriterStrategy,
TypePool typePool)
Creates a type writer for creating a new type.
|
static <U> TypeWriter<U> |
TypeWriter.Default.forDecoration(TypeDescription instrumentedType,
ClassFileVersion classFileVersion,
List<? extends DynamicType> auxiliaryTypes,
List<? extends MethodDescription> methods,
TypeAttributeAppender typeAttributeAppender,
AsmVisitorWrapper asmVisitorWrapper,
AnnotationValueFilter.Factory annotationValueFilterFactory,
AnnotationRetention annotationRetention,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
TypeValidation typeValidation,
ClassWriterStrategy classWriterStrategy,
TypePool typePool,
ClassFileLocator classFileLocator)
Creates a type writer for decorating a type.
|
static <U> TypeWriter<U> |
TypeWriter.Default.forRebasing(MethodRegistry.Prepared methodRegistry,
List<? extends DynamicType> auxiliaryTypes,
TypeWriter.FieldPool fieldPool,
TypeWriter.RecordComponentPool recordComponentPool,
TypeAttributeAppender typeAttributeAppender,
AsmVisitorWrapper asmVisitorWrapper,
ClassFileVersion classFileVersion,
AnnotationValueFilter.Factory annotationValueFilterFactory,
AnnotationRetention annotationRetention,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
TypeValidation typeValidation,
ClassWriterStrategy classWriterStrategy,
TypePool typePool,
TypeDescription originalType,
ClassFileLocator classFileLocator,
MethodRebaseResolver methodRebaseResolver)
Creates a type writer for rebasing a type.
|
static <U> TypeWriter<U> |
TypeWriter.Default.forRedefinition(MethodRegistry.Prepared methodRegistry,
List<? extends DynamicType> auxiliaryTypes,
TypeWriter.FieldPool fieldPool,
TypeWriter.RecordComponentPool recordComponentPool,
TypeAttributeAppender typeAttributeAppender,
AsmVisitorWrapper asmVisitorWrapper,
ClassFileVersion classFileVersion,
AnnotationValueFilter.Factory annotationValueFilterFactory,
AnnotationRetention annotationRetention,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
TypeValidation typeValidation,
ClassWriterStrategy classWriterStrategy,
TypePool typePool,
TypeDescription originalType,
ClassFileLocator classFileLocator)
Creates a type writer for redefining a type.
|
Modifier and Type | Method and Description |
---|---|
protected TypeWriter<T> |
DecoratingDynamicTypeBuilder.toTypeWriter()
Creates a
TypeWriter without an explicitly specified TypePool . |
protected TypeWriter<T> |
AbstractInliningDynamicTypeBuilder.toTypeWriter()
Creates a
TypeWriter without an explicitly specified TypePool . |
protected TypeWriter<T> |
RedefinitionDynamicTypeBuilder.toTypeWriter(TypePool typePool)
Creates a
TypeWriter given the specified TypePool . |
protected TypeWriter<T> |
RebaseDynamicTypeBuilder.toTypeWriter(TypePool typePool)
Creates a
TypeWriter given the specified TypePool . |
protected TypeWriter<T> |
DecoratingDynamicTypeBuilder.toTypeWriter(TypePool typePool)
Creates a
TypeWriter given the specified TypePool . |
Modifier and Type | Method and Description |
---|---|
protected TypeWriter<T> |
SubclassDynamicTypeBuilder.toTypeWriter()
Creates a
TypeWriter without an explicitly specified TypePool . |
protected TypeWriter<T> |
SubclassDynamicTypeBuilder.toTypeWriter(TypePool typePool)
Creates a
TypeWriter given the specified TypePool . |
Copyright © 2014–2023. All rights reserved.