Uses of Interface
net.bytebuddy.dynamic.scaffold.TypeWriter
-
Packages that use TypeWriter 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 aDynamicType
by enhancing a given type.net.bytebuddy.dynamic.scaffold.subclass All classes and types in this package are related to creating aDynamicType
by creating a subclass of a given type. -
-
Uses of TypeWriter in net.bytebuddy.dynamic
Methods in net.bytebuddy.dynamic that return TypeWriter Modifier and Type Method Description protected 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 TypeWriter Modifier and Type Class Description static class
TypeWriter.Default<S>
A default implementation of aTypeWriter
.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.Methods in net.bytebuddy.dynamic.scaffold that return TypeWriter Modifier and Type Method Description static <U> TypeWriter<U>
TypeWriter.Default. forCreation(MethodRegistry.Compiled methodRegistry, java.util.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, java.util.List<? extends DynamicType> auxiliaryTypes, java.util.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, java.util.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, java.util.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 TypeWriter Modifier and Type Method Description protected 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 TypeWriter Modifier and Type Method Description protected TypeWriter<T>
SubclassDynamicTypeBuilder. toTypeWriter()
Creates aTypeWriter
without an explicitly specifiedTypePool
.protected TypeWriter<T>
SubclassDynamicTypeBuilder. toTypeWriter(TypePool typePool)
Creates aTypeWriter
given the specifiedTypePool
.
-