Top Description Inners Fields Methods
net.bytebuddy.dynamic.scaffold

public Interface TypeWriter<T>

Known Direct Implementers
net.bytebuddy.dynamic.scaffold.TypeWriter.Default
Type Parameters
<T>
The best known loaded type for the dynamically created type.
Imports
edu.umd.cs.findbugs.annotations.SuppressFBWarnings, net.bytebuddy.ClassFileVersion, net.bytebuddy.asm.AsmVisitorWrapper, net.bytebuddy.build.AccessControllerPlugin, .HashCodeAndEqualsPlugin, net.bytebuddy.description.annotation.AnnotationList, .AnnotationValue, net.bytebuddy.description.field.FieldDescription, .FieldList, net.bytebuddy.description.method.MethodDescription, .MethodList, .ParameterDescription, .ParameterList, net.bytebuddy.description.modifier.ModifierContributor, .Visibility, net.bytebuddy.description.type.*, net.bytebuddy.dynamic.ClassFileLocator, .DynamicType, .TypeResolutionStrategy, net.bytebuddy.dynamic.scaffold.inline.MethodRebaseResolver, .RebaseImplementationTarget, net.bytebuddy.dynamic.scaffold.subclass.SubclassImplementationTarget, net.bytebuddy.implementation.Implementation, .LoadedTypeInitializer, net.bytebuddy.implementation.attribute.*, net.bytebuddy.implementation.auxiliary.AuxiliaryType, net.bytebuddy.implementation.bytecode.ByteCodeAppender, .StackManipulation, net.bytebuddy.implementation.bytecode.assign.TypeCasting, net.bytebuddy.implementation.bytecode.constant.DefaultValue, net.bytebuddy.implementation.bytecode.member.MethodInvocation, .MethodReturn, .MethodVariableAccess, net.bytebuddy.pool.TypePool, net.bytebuddy.utility.CompoundList, .OpenedClassReader, net.bytebuddy.utility.nullability.AlwaysNull, .MaybeNull, .UnknownNull, net.bytebuddy.utility.privilege.GetSystemPropertyAction, net.bytebuddy.utility.visitor.ContextClassVisitor, .MetadataAwareClassVisitor, net.bytebuddy.jar.asm.*, net.bytebuddy.jar.asm.commons.ClassRemapper, .Remapper, .SimpleRemapper, javax.annotation.Nonnull, java.io.File, .FileOutputStream, .IOException, .OutputStream, java.security.PrivilegedAction, .PrivilegedExceptionAction, java.util.*

A type writer is a utility for writing an actual class file using the ASM library.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public abstract static class
TypeWriter.Default<
The best known loaded type for the dynamically created type.
S
>

A default implementation of a net.bytebuddy.dynamic.scaffold.TypeWriter.

public static interface
TypeWriter.FieldPool

An field pool that allows a lookup for how to implement a field.

public static interface
TypeWriter.MethodPool

An method pool that allows a lookup for how to implement a method.

public static interface
TypeWriter.RecordComponentPool

An record component pool that allows a lookup for how to implement a record component.

Field Summary

Modifier and TypeField and Description
public static final String
DUMP_PROPERTY

A system property that indicates a folder for Byte Buddy to dump class files of all types that it creates.

Method Summary

Modifier and TypeMethod and Description
public DynamicType.Unloaded<T>

Returns:

An unloaded dynamic type that describes the created type.
make
(TypeResolutionStrategy.Resolved
The type resolution strategy to use.
typeResolver
)

Creates the dynamic type that is described by this type writer.

public ContextClassVisitor

Returns:

The supplied class visitor wrapped by this type writer.
wrap
(ClassVisitor
The class visitor to wrap.
classVisitor
,
int
The ASM writer flags to consider.
writerFlags
,
int
The ASM reader flags to consider.
readerFlags
)

Wraps another ASM class visitor with a visitor that represents this ASM class writer.