Uses of Interface
net.bytebuddy.dynamic.DynamicType
-
Packages that use DynamicType Package Description net.bytebuddy.agent.builder An agent builder is used to easily implement load-time class-transformations using a Java agent.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 aDynamicTypeby enhancing a given type.net.bytebuddy.implementation The implementation package contains any logic for intercepting method calls.net.bytebuddy.implementation.auxiliary Auxiliary types describe helper types that aid as a supplementary to a givenInstrumentedType.net.bytebuddy.implementation.bind.annotation 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 DynamicType Modifier and Type Method Description voidAgentBuilder.Listener.Adapter. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)voidAgentBuilder.Listener.Compound. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)voidAgentBuilder.Listener.Filtering. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)voidAgentBuilder.Listener.ModuleReadEdgeCompleting. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)voidAgentBuilder.Listener.NoOp. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)voidAgentBuilder.Listener. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)Invoked prior to a successful transformation being applied.voidAgentBuilder.Listener.StreamWriting. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)voidAgentBuilder.Listener.WithTransformationsOnly. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)voidAgentBuilder.InitializationStrategy.Dispatcher. register(DynamicType dynamicType, java.lang.ClassLoader classLoader, AgentBuilder.InitializationStrategy.Dispatcher.InjectorFactory injectorFactory)Registers a dynamic type for initialization and/or begins the initialization process.voidAgentBuilder.InitializationStrategy.Minimal. register(DynamicType dynamicType, java.lang.ClassLoader classLoader, AgentBuilder.InitializationStrategy.Dispatcher.InjectorFactory injectorFactory)voidAgentBuilder.InitializationStrategy.NoOp. register(DynamicType dynamicType, java.lang.ClassLoader classLoader, AgentBuilder.InitializationStrategy.Dispatcher.InjectorFactory injectorFactory)voidAgentBuilder.InitializationStrategy.SelfInjection.Eager.Dispatcher. register(DynamicType dynamicType, java.lang.ClassLoader classLoader, AgentBuilder.InitializationStrategy.Dispatcher.InjectorFactory injectorFactory)voidAgentBuilder.InitializationStrategy.SelfInjection.Lazy.Dispatcher. register(DynamicType dynamicType, java.lang.ClassLoader classLoader, AgentBuilder.InitializationStrategy.Dispatcher.InjectorFactory injectorFactory)voidAgentBuilder.InitializationStrategy.SelfInjection.Split.Dispatcher. register(DynamicType dynamicType, java.lang.ClassLoader classLoader, AgentBuilder.InitializationStrategy.Dispatcher.InjectorFactory injectorFactory) -
Uses of DynamicType in net.bytebuddy.dynamic
Subinterfaces of DynamicType in net.bytebuddy.dynamic Modifier and Type Interface Description static interfaceDynamicType.Loaded<T>A dynamic type that has been loaded into the running instance of the Java virtual machine.static interfaceDynamicType.Unloaded<T>A dynamic type that has not yet been loaded by a givenClassLoader.Classes in net.bytebuddy.dynamic that implement DynamicType Modifier and Type Class Description static classDynamicType.DefaultA default implementation of a dynamic type.protected static classDynamicType.Default.Loaded<T>A default implementation of a loaded dynamic type.static classDynamicType.Default.Unloaded<T>A default implementation of an unloaded dynamic type.Fields in net.bytebuddy.dynamic with type parameters of type DynamicType Modifier and Type Field Description protected java.util.List<? extends DynamicType>DynamicType.Default. auxiliaryTypesA list of auxiliary types for this dynamic type.Methods in net.bytebuddy.dynamic with parameters of type DynamicType Modifier and Type Method Description DynamicType.Unloaded<T>DynamicType.Default.Unloaded. include(DynamicType... dynamicType)DynamicType.Unloaded<T>DynamicType.Unloaded. include(DynamicType... dynamicType)Includes the provided dynamic types as auxiliary types of this instance.<S extends java.lang.ClassLoader>
java.util.Map<TypeDescription,java.lang.Class<?>>TypeResolutionStrategy.Active.Resolved. initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy)<S extends java.lang.ClassLoader>
java.util.Map<TypeDescription,java.lang.Class<?>>TypeResolutionStrategy.Disabled. initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy)<S extends java.lang.ClassLoader>
java.util.Map<TypeDescription,java.lang.Class<?>>TypeResolutionStrategy.Lazy. initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy)<S extends java.lang.ClassLoader>
java.util.Map<TypeDescription,java.lang.Class<?>>TypeResolutionStrategy.Passive. initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy)<S extends java.lang.ClassLoader>
java.util.Map<TypeDescription,java.lang.Class<?>>TypeResolutionStrategy.Resolved. initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy)Loads and initializes a dynamic type.static ClassFileLocatorClassFileLocator.Simple. of(DynamicType dynamicType)Creates a class file locator that represents all types of a dynamic type.Method parameters in net.bytebuddy.dynamic with type arguments of type DynamicType Modifier and Type Method Description DynamicType.Unloaded<T>DynamicType.Default.Unloaded. include(java.util.List<? extends DynamicType> dynamicType)DynamicType.Unloaded<T>DynamicType.Unloaded. include(java.util.List<? extends DynamicType> dynamicTypes)Includes the provided dynamic types as auxiliary types of this instance.Constructor parameters in net.bytebuddy.dynamic with type arguments of type DynamicType Constructor Description Default(TypeDescription typeDescription, byte[] binaryRepresentation, LoadedTypeInitializer loadedTypeInitializer, java.util.List<? extends DynamicType> auxiliaryTypes)Creates a new dynamic type.Loaded(TypeDescription typeDescription, byte[] typeByte, LoadedTypeInitializer loadedTypeInitializer, java.util.List<? extends DynamicType> auxiliaryTypes, java.util.Map<TypeDescription,java.lang.Class<?>> loadedTypes)Creates a new representation of a loaded dynamic type.Unloaded(TypeDescription typeDescription, byte[] binaryRepresentation, LoadedTypeInitializer loadedTypeInitializer, java.util.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 DynamicType Modifier and Type Field Description protected java.util.List<? extends DynamicType>TypeWriter.Default. auxiliaryTypesThe explicit auxiliary types to add to the created type.Methods in net.bytebuddy.dynamic.scaffold that return types with arguments of type DynamicType Modifier and Type Method Description java.util.List<DynamicType>TypeWriter.Default.ForInlining.ContextRegistry. getAuxiliaryTypes()Returns the auxiliary types that were registered during class creation.Constructor parameters in net.bytebuddy.dynamic.scaffold with type arguments of type DynamicType Constructor Description Default(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, java.util.List<? extends DynamicType> auxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, TypePool typePool)Creates a new default type writer.ForCreation(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, TypeWriter.MethodPool methodPool, java.util.List<? extends DynamicType> auxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, TypePool typePool)Creates a new default type writer for creating a new type that is not based on an existing class file.ForInlining(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, MethodRegistry.Prepared methodRegistry, Implementation.Target.Factory implementationTargetFactory, java.util.List<DynamicType> explicitAuxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, TypePool typePool, TypeDescription originalType, ClassFileLocator classFileLocator, MethodRebaseResolver methodRebaseResolver)Creates a new default type writer for creating a new type that is not based on an existing class file.UnresolvedType(byte[] binaryRepresentation, java.util.List<? extends DynamicType> auxiliaryTypes)Creates a new unresolved type. -
Uses of DynamicType in net.bytebuddy.dynamic.scaffold.inline
Methods in net.bytebuddy.dynamic.scaffold.inline that return types with arguments of type DynamicType Modifier and Type Method Description java.util.List<DynamicType>MethodRebaseResolver.Default. getAuxiliaryTypes()java.util.List<DynamicType>MethodRebaseResolver.Disabled. getAuxiliaryTypes()java.util.List<DynamicType>MethodRebaseResolver. getAuxiliaryTypes()Returns a (potentially empty) list of auxiliary types that are required by this method rebase resolver.Constructor parameters in net.bytebuddy.dynamic.scaffold.inline with type arguments of type DynamicType Constructor Description Default(java.util.Map<MethodDescription.InDefinedShape,MethodRebaseResolver.Resolution> resolutions, java.util.List<DynamicType> dynamicTypes)Creates a new default method rebased resolver. -
Uses of DynamicType in net.bytebuddy.implementation
Methods in net.bytebuddy.implementation that return types with arguments of type DynamicType Modifier and Type Method Description java.util.List<DynamicType>Implementation.Context.Default. getAuxiliaryTypes()java.util.List<DynamicType>Implementation.Context.Disabled. getAuxiliaryTypes()java.util.List<DynamicType>Implementation.Context.ExtractableView. getAuxiliaryTypes()Returns anyAuxiliaryTypethat was registered with thisImplementation.Context. -
Uses of DynamicType in net.bytebuddy.implementation.auxiliary
Methods in net.bytebuddy.implementation.auxiliary that return DynamicType Modifier and Type Method Description DynamicTypeAuxiliaryType. make(java.lang.String auxiliaryTypeName, ClassFileVersion classFileVersion, MethodAccessorFactory methodAccessorFactory)Creates a new auxiliary type.DynamicTypeMethodCallProxy. make(java.lang.String auxiliaryTypeName, ClassFileVersion classFileVersion, MethodAccessorFactory methodAccessorFactory)DynamicTypeTrivialType. make(java.lang.String auxiliaryTypeName, ClassFileVersion classFileVersion, MethodAccessorFactory methodAccessorFactory)DynamicTypeTypeProxy. make(java.lang.String auxiliaryTypeName, ClassFileVersion classFileVersion, MethodAccessorFactory methodAccessorFactory) -
Uses of DynamicType in net.bytebuddy.implementation.bind.annotation
Methods in net.bytebuddy.implementation.bind.annotation that return DynamicType Modifier and Type Method Description DynamicTypeFieldProxy.Binder.AccessorProxy. make(java.lang.String auxiliaryTypeName, ClassFileVersion classFileVersion, MethodAccessorFactory methodAccessorFactory)DynamicTypeMorph.Binder.RedirectionProxy. make(java.lang.String auxiliaryTypeName, ClassFileVersion classFileVersion, MethodAccessorFactory methodAccessorFactory)DynamicTypePipe.Binder.Redirection. make(java.lang.String auxiliaryTypeName, ClassFileVersion classFileVersion, MethodAccessorFactory methodAccessorFactory)
-