Uses of Interface
net.bytebuddy.dynamic.DynamicType
Packages that use DynamicType
Package
Description
An agent builder is used to easily implement load-time class-transformations using a Java agent.
A package for types that allow for applying Byte Buddy transformation during a build process.
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.The implementation package contains any logic for intercepting method calls.
Auxiliary types describe helper types that aid as a supplementary to a given
InstrumentedType
.This package contains annotations, types and classes that are responsible for binding a method to calling another
method by interpreting annotations that indicate how a method should be bound to another method.
-
Uses of DynamicType in net.bytebuddy.agent.builder
Methods in net.bytebuddy.agent.builder with parameters of type DynamicTypeModifier and TypeMethodDescriptionvoid
AgentBuilder.Listener.Adapter.onTransformation
(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) Invoked prior to a successful transformation being applied.void
AgentBuilder.Listener.Compound.onTransformation
(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) Invoked prior to a successful transformation being applied.void
AgentBuilder.Listener.Filtering.onTransformation
(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) Invoked prior to a successful transformation being applied.void
AgentBuilder.Listener.ModuleReadEdgeCompleting.onTransformation
(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) void
AgentBuilder.Listener.NoOp.onTransformation
(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) Invoked prior to a successful transformation being applied.void
AgentBuilder.Listener.onTransformation
(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) Invoked prior to a successful transformation being applied.void
AgentBuilder.Listener.StreamWriting.onTransformation
(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) Invoked prior to a successful transformation being applied.void
AgentBuilder.Listener.WithTransformationsOnly.onTransformation
(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) void
AgentBuilder.InitializationStrategy.Dispatcher.register
(DynamicType dynamicType, ClassLoader classLoader, ProtectionDomain protectionDomain, AgentBuilder.InjectionStrategy injectionStrategy) Registers a dynamic type for initialization and/or begins the initialization process.void
AgentBuilder.InitializationStrategy.Minimal.register
(DynamicType dynamicType, ClassLoader classLoader, ProtectionDomain protectionDomain, AgentBuilder.InjectionStrategy injectionStrategy) Registers a dynamic type for initialization and/or begins the initialization process.void
AgentBuilder.InitializationStrategy.NoOp.register
(DynamicType dynamicType, ClassLoader classLoader, ProtectionDomain protectionDomain, AgentBuilder.InjectionStrategy injectionStrategy) Registers a dynamic type for initialization and/or begins the initialization process.void
AgentBuilder.InitializationStrategy.SelfInjection.Eager.Dispatcher.register
(DynamicType dynamicType, ClassLoader classLoader, ProtectionDomain protectionDomain, AgentBuilder.InjectionStrategy injectionStrategy) Registers a dynamic type for initialization and/or begins the initialization process.void
AgentBuilder.InitializationStrategy.SelfInjection.Lazy.Dispatcher.register
(DynamicType dynamicType, ClassLoader classLoader, ProtectionDomain protectionDomain, AgentBuilder.InjectionStrategy injectionStrategy) Registers a dynamic type for initialization and/or begins the initialization process.void
AgentBuilder.InitializationStrategy.SelfInjection.Split.Dispatcher.register
(DynamicType dynamicType, ClassLoader classLoader, ProtectionDomain protectionDomain, AgentBuilder.InjectionStrategy injectionStrategy) Registers a dynamic type for initialization and/or begins the initialization process. -
Uses of DynamicType in net.bytebuddy.build
Fields in net.bytebuddy.build declared as DynamicTypeModifier and TypeFieldDescriptionprivate final DynamicType
Plugin.Engine.Dispatcher.Materializable.ForTransformedElement.dynamicType
The type that has been transformed.Constructors in net.bytebuddy.build with parameters of type DynamicTypeModifierConstructorDescriptionprotected
ForTransformedElement
(DynamicType dynamicType) Creates a new materializable for a successfully transformed type. -
Uses of DynamicType in net.bytebuddy.dynamic
Subinterfaces of DynamicType in net.bytebuddy.dynamicModifier and TypeInterfaceDescriptionstatic interface
A dynamic type that has been loaded into the running instance of the Java virtual machine.static interface
A dynamic type that has not yet been loaded by a givenClassLoader
.Classes in net.bytebuddy.dynamic that implement DynamicTypeModifier and TypeClassDescriptionstatic class
A default implementation of a dynamic type.protected static class
A default implementation of a loaded dynamic type.static class
A default implementation of an unloaded dynamic type.Fields in net.bytebuddy.dynamic with type parameters of type DynamicTypeModifier and TypeFieldDescriptionprotected final List<? extends DynamicType>
DynamicType.Builder.AbstractBase.Adapter.auxiliaryTypes
A list of explicitly defined auxiliary types.protected final List<? extends DynamicType>
DynamicType.Default.auxiliaryTypes
A list of auxiliary types for this dynamic type.Methods in net.bytebuddy.dynamic with parameters of type DynamicTypeModifier and TypeMethodDescriptionDynamicType.Default.Unloaded.include
(DynamicType... dynamicType) Includes the provided dynamic types as auxiliary types of this instance.DynamicType.Unloaded.include
(DynamicType... dynamicType) Includes the provided dynamic types as auxiliary types of this instance.<S extends ClassLoader>
Map<TypeDescription,Class<?>> TypeResolutionStrategy.Active.Resolved.initialize
(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy) Loads and initializes a dynamic type.<S extends ClassLoader>
Map<TypeDescription,Class<?>> TypeResolutionStrategy.Disabled.initialize
(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy) Loads and initializes a dynamic type.<S extends ClassLoader>
Map<TypeDescription,Class<?>> TypeResolutionStrategy.Lazy.initialize
(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy) Loads and initializes a dynamic type.<S extends ClassLoader>
Map<TypeDescription,Class<?>> TypeResolutionStrategy.Passive.initialize
(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy) Loads and initializes a dynamic type.<S extends ClassLoader>
Map<TypeDescription,Class<?>> TypeResolutionStrategy.Resolved.initialize
(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy) Loads and initializes a dynamic type.static ClassFileLocator
ClassFileLocator.Simple.of
(DynamicType dynamicType) Creates a class file locator that represents all types of a dynamic type.DynamicType.Builder.AbstractBase.require
(DynamicType... auxiliaryType) Explicitly requires other dynamic types for the creation of this type.DynamicType.Builder.require
(DynamicType... auxiliaryType) Explicitly requires other dynamic types for the creation of this type.Method parameters in net.bytebuddy.dynamic with type arguments of type DynamicTypeModifier and TypeMethodDescriptionDynamicType.Default.Unloaded.include
(List<? extends DynamicType> dynamicType) Includes the provided dynamic types as auxiliary types of this instance.DynamicType.Unloaded.include
(List<? extends DynamicType> dynamicTypes) Includes the provided dynamic types as auxiliary types of this instance.protected abstract DynamicType.Builder<U>
DynamicType.Builder.AbstractBase.Adapter.materialize
(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, ClassWriterStrategy classWriterStrategy, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes) Materializes the supplied state of a dynamic type builder.DynamicType.Builder.AbstractBase.Adapter.require
(Collection<DynamicType> auxiliaryTypes) Explicitly requires other dynamic types for the creation of this type.DynamicType.Builder.AbstractBase.Delegator.require
(Collection<DynamicType> auxiliaryTypes) Explicitly requires other dynamic types for the creation of this type.DynamicType.Builder.require
(Collection<DynamicType> auxiliaryTypes) Explicitly requires other dynamic types for the creation of this type.Constructor parameters in net.bytebuddy.dynamic with type arguments of type DynamicTypeModifierConstructorDescriptionprotected
Adapter
(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, ClassWriterStrategy classWriterStrategy, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes) Creates a new default type writer for creating a new type that is not based on an existing class file.Default
(TypeDescription typeDescription, byte[] binaryRepresentation, LoadedTypeInitializer loadedTypeInitializer, List<? extends DynamicType> auxiliaryTypes) Creates a new dynamic type.protected
Loaded
(TypeDescription typeDescription, byte[] typeByte, LoadedTypeInitializer loadedTypeInitializer, List<? extends DynamicType> auxiliaryTypes, Map<TypeDescription, Class<?>> loadedTypes) Creates a new representation of a loaded dynamic type.Unloaded
(TypeDescription typeDescription, byte[] binaryRepresentation, LoadedTypeInitializer loadedTypeInitializer, List<? extends DynamicType> auxiliaryTypes, TypeResolutionStrategy.Resolved typeResolutionStrategy) Creates a new unloaded representation of a dynamic type. -
Uses of DynamicType in net.bytebuddy.dynamic.scaffold
Fields in net.bytebuddy.dynamic.scaffold with type parameters of type DynamicTypeModifier and TypeFieldDescriptionprotected final List<? extends DynamicType>
TypeWriter.Default.auxiliaryTypes
The explicit auxiliary types to add to the created type.private final List<? extends DynamicType>
TypeWriter.Default.UnresolvedType.auxiliaryTypes
A list of auxiliary types for this unresolved type.Methods in net.bytebuddy.dynamic.scaffold that return types with arguments of type DynamicTypeModifier and TypeMethodDescriptionTypeWriter.Default.ForInlining.ContextRegistry.getAuxiliaryTypes()
Returns the auxiliary types that were registered during class creation.Method parameters in net.bytebuddy.dynamic.scaffold with type arguments of type DynamicTypeModifier 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, 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.Constructor parameters in net.bytebuddy.dynamic.scaffold with type arguments of type DynamicTypeModifierConstructorDescriptionprotected
Default
(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, TypeWriter.RecordComponentPool recordComponentPool, List<? extends DynamicType> auxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, RecordComponentList<RecordComponentDescription.InDefinedShape> recordComponents, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, ClassWriterStrategy classWriterStrategy, TypePool typePool) Creates a new default type writer.protected
ForCreation
(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, TypeWriter.MethodPool methodPool, TypeWriter.RecordComponentPool recordComponentPool, List<? extends DynamicType> auxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, RecordComponentList<RecordComponentDescription.InDefinedShape> recordComponents, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, ClassWriterStrategy classWriterStrategy, TypePool typePool) Creates a new default type writer for creating a new type that is not based on an existing class file.protected
ForInlining
(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, TypeWriter.RecordComponentPool recordComponentPool, List<? extends DynamicType> auxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, RecordComponentList<RecordComponentDescription.InDefinedShape> recordComponents, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, ClassWriterStrategy classWriterStrategy, TypePool typePool, TypeDescription originalType, ClassFileLocator classFileLocator) Creates a new inlining type writer.protected
UnresolvedType
(byte[] binaryRepresentation, List<? extends DynamicType> auxiliaryTypes) Creates a new unresolved type.protected
WithDecorationOnly
(TypeDescription instrumentedType, ClassFileVersion classFileVersion, List<? extends DynamicType> auxiliaryTypes, MethodList<?> 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 new inlining type writer that only applies a decoration.protected
WithFullProcessing
(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, TypeWriter.RecordComponentPool recordComponentPool, List<? extends DynamicType> auxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, RecordComponentList<RecordComponentDescription.InDefinedShape> recordComponents, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, ClassWriterStrategy classWriterStrategy, TypePool typePool, TypeDescription originalType, ClassFileLocator classFileLocator, MethodRegistry.Prepared methodRegistry, Implementation.Target.Factory implementationTargetFactory, MethodRebaseResolver methodRebaseResolver) Creates a new inlining type writer that fully reprocesses a type. -
Uses of DynamicType in net.bytebuddy.dynamic.scaffold.inline
Fields in net.bytebuddy.dynamic.scaffold.inline with type parameters of type DynamicTypeModifier and TypeFieldDescriptionprivate final List<DynamicType>
DecoratingDynamicTypeBuilder.auxiliaryTypes
A list of explicitly required auxiliary types.private final List<DynamicType>
MethodRebaseResolver.Default.dynamicTypes
A list of dynamic types that need to be appended to the created type in order to allow for the rebasement.Methods in net.bytebuddy.dynamic.scaffold.inline that return types with arguments of type DynamicTypeModifier and TypeMethodDescriptionMethodRebaseResolver.Default.getAuxiliaryTypes()
Returns a (potentially empty) list of auxiliary types that are required by this method rebase resolver.MethodRebaseResolver.Disabled.getAuxiliaryTypes()
Returns a (potentially empty) list of auxiliary types that are required by this method rebase resolver.MethodRebaseResolver.getAuxiliaryTypes()
Returns a (potentially empty) list of auxiliary types that are required by this method rebase resolver.Method parameters in net.bytebuddy.dynamic.scaffold.inline with type arguments of type DynamicTypeModifier and TypeMethodDescriptionprotected DynamicType.Builder<T>
RebaseDynamicTypeBuilder.materialize
(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, ClassWriterStrategy classWriterStrategy, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes) protected DynamicType.Builder<T>
RedefinitionDynamicTypeBuilder.materialize
(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, ClassWriterStrategy classWriterStrategy, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes) DecoratingDynamicTypeBuilder.require
(Collection<DynamicType> auxiliaryTypes) Explicitly requires other dynamic types for the creation of this type.Constructor parameters in net.bytebuddy.dynamic.scaffold.inline with type arguments of type DynamicTypeModifierConstructorDescriptionprotected
AbstractInliningDynamicTypeBuilder
(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, ClassWriterStrategy classWriterStrategy, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes, TypeDescription originalType, ClassFileLocator classFileLocator) Creates an inlining dynamic type builder.protected
DecoratingDynamicTypeBuilder
(TypeDescription instrumentedType, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, ClassWriterStrategy classWriterStrategy, LatentMatcher<? super MethodDescription> ignoredMethods, List<DynamicType> auxiliaryTypes, ClassFileLocator classFileLocator) Creates a new decorating dynamic type builder.protected
Default
(Map<MethodDescription.InDefinedShape, MethodRebaseResolver.Resolution> resolutions, List<DynamicType> dynamicTypes) Creates a new default method rebased resolver.protected
RebaseDynamicTypeBuilder
(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, ClassWriterStrategy classWriterStrategy, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes, TypeDescription originalType, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer) Creates a rebase dynamic type builder.protected
RedefinitionDynamicTypeBuilder
(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, ClassWriterStrategy classWriterStrategy, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes, TypeDescription originalType, ClassFileLocator classFileLocator) Creates a redefinition dynamic type builder. -
Uses of DynamicType in net.bytebuddy.dynamic.scaffold.subclass
Method parameters in net.bytebuddy.dynamic.scaffold.subclass with type arguments of type DynamicTypeModifier and TypeMethodDescriptionprotected DynamicType.Builder<T>
SubclassDynamicTypeBuilder.materialize
(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, ClassWriterStrategy classWriterStrategy, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes) Constructor parameters in net.bytebuddy.dynamic.scaffold.subclass with type arguments of type DynamicTypeModifierConstructorDescriptionprotected
SubclassDynamicTypeBuilder
(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, ClassWriterStrategy classWriterStrategy, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes, ConstructorStrategy constructorStrategy) Creates a new type builder for creating a subclass. -
Uses of DynamicType in net.bytebuddy.implementation
Fields in net.bytebuddy.implementation with type parameters of type DynamicTypeModifier and TypeFieldDescriptionprivate final Map<AuxiliaryType,
DynamicType> Implementation.Context.Default.auxiliaryTypes
A map of registered auxiliary types to their dynamic type representation.Methods in net.bytebuddy.implementation that return types with arguments of type DynamicTypeModifier and TypeMethodDescriptionImplementation.Context.Default.getAuxiliaryTypes()
Returns anyAuxiliaryType
that was registered with thisImplementation.Context
.Implementation.Context.Disabled.getAuxiliaryTypes()
Returns anyAuxiliaryType
that was registered with thisImplementation.Context
.Implementation.Context.ExtractableView.getAuxiliaryTypes()
Returns anyAuxiliaryType
that was registered with thisImplementation.Context
. -
Uses of DynamicType in net.bytebuddy.implementation.auxiliary
Methods in net.bytebuddy.implementation.auxiliary that return DynamicTypeModifier and TypeMethodDescriptionAuxiliaryType.make
(String auxiliaryTypeName, ClassFileVersion classFileVersion, MethodAccessorFactory methodAccessorFactory) Creates a new auxiliary type.MethodCallProxy.make
(String auxiliaryTypeName, ClassFileVersion classFileVersion, MethodAccessorFactory methodAccessorFactory) Creates a new auxiliary type.PrivilegedMemberLookupAction.make
(String auxiliaryTypeName, ClassFileVersion classFileVersion, MethodAccessorFactory methodAccessorFactory) Creates a new auxiliary type.TrivialType.make
(String auxiliaryTypeName, ClassFileVersion classFileVersion, MethodAccessorFactory methodAccessorFactory) Creates a new auxiliary type.TypeProxy.make
(String auxiliaryTypeName, ClassFileVersion classFileVersion, MethodAccessorFactory methodAccessorFactory) Creates a new auxiliary type. -
Uses of DynamicType in net.bytebuddy.implementation.bind.annotation
Methods in net.bytebuddy.implementation.bind.annotation that return DynamicTypeModifier and TypeMethodDescriptionFieldProxy.Binder.AccessorProxy.make
(String auxiliaryTypeName, ClassFileVersion classFileVersion, MethodAccessorFactory methodAccessorFactory) Creates a new auxiliary type.Morph.Binder.RedirectionProxy.make
(String auxiliaryTypeName, ClassFileVersion classFileVersion, MethodAccessorFactory methodAccessorFactory) Creates a new auxiliary type.Pipe.Binder.RedirectionProxy.make
(String auxiliaryTypeName, ClassFileVersion classFileVersion, MethodAccessorFactory methodAccessorFactory) Creates a new auxiliary type.