Uses of Interface
net.bytebuddy.dynamic.scaffold.TypeWriter
Packages that use TypeWriter
Package
Description
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.
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
All classes and types in this package are related to creating a
DynamicType
by
enhancing a given type.All classes and types in this package are related to creating a
DynamicType
by
creating a subclass of a given type.-
Uses of TypeWriter in net.bytebuddy.dynamic
Methods in net.bytebuddy.dynamic that return TypeWriterModifier and TypeMethodDescriptionprotected abstract TypeWriter
<U> DynamicType.Builder.AbstractBase.UsingTypeWriter.toTypeWriter()
Creates aTypeWriter
without an explicitly specifiedTypePool
.protected abstract TypeWriter
<U> DynamicType.Builder.AbstractBase.UsingTypeWriter.toTypeWriter
(TypePool typePool) Creates aTypeWriter
given the specifiedTypePool
. -
Uses of TypeWriter in net.bytebuddy.dynamic.scaffold
Classes in net.bytebuddy.dynamic.scaffold that implement TypeWriterModifier and TypeClassDescriptionstatic class
A default implementation of aTypeWriter
.static class
A type writer that creates a class file that is not based upon another, existing class.static class
A type writer that inlines the created type into an existing class file.protected static class
A default type writer that only applies a type decoration.protected static class
A default type writer that reprocesses a type completely.Methods in net.bytebuddy.dynamic.scaffold that return TypeWriterModifier and TypeMethodDescriptionstatic <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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, 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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, 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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, 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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, TypePool typePool, TypeDescription originalType, ClassFileLocator classFileLocator) Creates a type writer for redefining a type. -
Uses of TypeWriter in net.bytebuddy.dynamic.scaffold.inline
Methods in net.bytebuddy.dynamic.scaffold.inline that return TypeWriterModifier and TypeMethodDescriptionprotected TypeWriter
<T> AbstractInliningDynamicTypeBuilder.toTypeWriter()
Creates aTypeWriter
without an explicitly specifiedTypePool
.protected TypeWriter
<T> DecoratingDynamicTypeBuilder.toTypeWriter()
Creates aTypeWriter
without an explicitly specifiedTypePool
.protected TypeWriter
<T> DecoratingDynamicTypeBuilder.toTypeWriter
(TypePool typePool) Creates aTypeWriter
given the specifiedTypePool
.protected TypeWriter
<T> RebaseDynamicTypeBuilder.toTypeWriter
(TypePool typePool) Creates aTypeWriter
given the specifiedTypePool
.protected TypeWriter
<T> RedefinitionDynamicTypeBuilder.toTypeWriter
(TypePool typePool) Creates aTypeWriter
given the specifiedTypePool
. -
Uses of TypeWriter in net.bytebuddy.dynamic.scaffold.subclass
Methods in net.bytebuddy.dynamic.scaffold.subclass that return TypeWriterModifier and TypeMethodDescriptionprotected TypeWriter
<T> SubclassDynamicTypeBuilder.toTypeWriter()
Creates aTypeWriter
without an explicitly specifiedTypePool
.protected TypeWriter
<T> SubclassDynamicTypeBuilder.toTypeWriter
(TypePool typePool) Creates aTypeWriter
given the specifiedTypePool
.