T
- The best known loaded type for the dynamically created type.public interface TypeWriter<T>
Modifier and Type | Interface and Description |
---|---|
static class |
TypeWriter.Default<S>
A default implementation of a
TypeWriter . |
static interface |
TypeWriter.FieldPool
An field pool that allows a lookup for how to implement a field.
|
static interface |
TypeWriter.MethodPool
An method pool that allows a lookup for how to implement a method.
|
static interface |
TypeWriter.RecordComponentPool
An record component pool that allows a lookup for how to implement a record component.
|
Modifier and Type | Field and Description |
---|---|
static String |
DUMP_PROPERTY
A system property that indicates a folder for Byte Buddy to dump class files of all types that it creates.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Unloaded<T> |
make(TypeResolutionStrategy.Resolved typeResolver)
Creates the dynamic type that is described by this type writer.
|
ContextClassVisitor |
wrap(ClassVisitor classVisitor,
int writerFlags,
int readerFlags)
Wraps another ASM class visitor with a visitor that represents this ASM class writer.
|
static final String DUMP_PROPERTY
DynamicType.Unloaded<T> make(TypeResolutionStrategy.Resolved typeResolver)
typeResolver
- The type resolution strategy to use.ContextClassVisitor wrap(ClassVisitor classVisitor, int writerFlags, int readerFlags)
classVisitor
- The class visitor to wrap.writerFlags
- The ASM writer flags to consider.readerFlags
- The ASM reader flags to consider.Copyright © 2014–2023. All rights reserved.