Uses of Interface
net.bytebuddy.agent.builder.ResettableClassFileTransformer
Packages that use ResettableClassFileTransformer
Package
Description
An agent builder is used to easily implement load-time class-transformations using a Java agent.
-
Uses of ResettableClassFileTransformer in net.bytebuddy.agent.builder
Subinterfaces of ResettableClassFileTransformer in net.bytebuddy.agent.builderModifier and TypeInterfaceDescriptionstatic interface
AResettableClassFileTransformer
which allows for substitution the actual class file transformer without changes in the order of the transformer chain.Classes in net.bytebuddy.agent.builder that implement ResettableClassFileTransformerModifier and TypeClassDescriptionprotected static class
AClassFileTransformer
that implements the enclosing agent builder's configuration.static class
An abstract base implementation of aResettableClassFileTransformer
.static class
Implements a resettable class file transformer that allows for the delegation of a transformation.protected static class
A standard implementation of a substitutableResettableClassFileTransformer
.Fields in net.bytebuddy.agent.builder declared as ResettableClassFileTransformerModifier and TypeFieldDescriptionprivate final ResettableClassFileTransformer
AgentBuilder.Default.Transformation.DifferentialMatcher.classFileTransformer
The class file transformer representing the differential.private final ResettableClassFileTransformer
AgentBuilder.PatchMode.Handler.ForPatchWithGap.classFileTransformer
The class file transformer to deregister.private final ResettableClassFileTransformer
AgentBuilder.PatchMode.Handler.ForPatchWithOverlap.classFileTransformer
The class file transformer to deregister.protected final ResettableClassFileTransformer
ResettableClassFileTransformer.WithDelegation.classFileTransformer
The class file transformer to delegate to.protected ResettableClassFileTransformer
ResettableClassFileTransformer.WithDelegation.Substitutable.classFileTransformer
The class file transformer to delegate to.Fields in net.bytebuddy.agent.builder with type parameters of type ResettableClassFileTransformerModifier and TypeFieldDescriptionprivate final Constructor
<? extends ResettableClassFileTransformer> AgentBuilder.Default.ExecutingTransformer.Factory.ForJava9CapableVm.executingTransformer
A constructor for creating aClassFileTransformer
that overrides the newly added method for extracting thejava.lang.Module
of an instrumented class.Methods in net.bytebuddy.agent.builder that return ResettableClassFileTransformerModifier and TypeMethodDescriptionAgentBuilder.TransformerDecorator.Compound.decorate
(ResettableClassFileTransformer classFileTransformer) Decorates the applied class file transformer.AgentBuilder.TransformerDecorator.decorate
(ResettableClassFileTransformer classFileTransformer) Decorates the applied class file transformer.AgentBuilder.TransformerDecorator.ForSubstitution.decorate
(ResettableClassFileTransformer classFileTransformer) Decorates the applied class file transformer.AgentBuilder.TransformerDecorator.NoOp.decorate
(ResettableClassFileTransformer classFileTransformer) Decorates the applied class file transformer.private ResettableClassFileTransformer
AgentBuilder.Default.doInstall
(Instrumentation instrumentation, AgentBuilder.RawMatcher matcher, AgentBuilder.PatchMode.Handler handler) Installs the class file transformer.AgentBuilder.Default.Delegator.installOn
(Instrumentation instrumentation) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.Default.installOn
(Instrumentation instrumentation) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.installOn
(Instrumentation instrumentation) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.Default.Delegator.installOnByteBuddyAgent()
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.AgentBuilder.Default.installOnByteBuddyAgent()
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.AgentBuilder.installOnByteBuddyAgent()
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.AgentBuilder.Default.ExecutingTransformer.Factory.ForJava9CapableVm.make
(ByteBuddy byteBuddy, AgentBuilder.Listener listener, AgentBuilder.PoolStrategy poolStrategy, AgentBuilder.TypeStrategy typeStrategy, AgentBuilder.LocationStrategy locationStrategy, ClassFileLocator classFileLocator, AgentBuilder.Default.NativeMethodStrategy nativeMethodStrategy, AgentBuilder.InitializationStrategy initializationStrategy, AgentBuilder.InjectionStrategy injectionStrategy, AgentBuilder.LambdaInstrumentationStrategy lambdaInstrumentationStrategy, AgentBuilder.DescriptionStrategy descriptionStrategy, AgentBuilder.FallbackStrategy fallbackStrategy, AgentBuilder.ClassFileBufferStrategy classFileBufferStrategy, AgentBuilder.InstallationListener installationListener, AgentBuilder.RawMatcher ignoreMatcher, AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer resubmissionEnforcer, List<AgentBuilder.Default.Transformation> transformations, AgentBuilder.CircularityLock circularityLock) Creates a new class file transformer for the current VM.AgentBuilder.Default.ExecutingTransformer.Factory.ForLegacyVm.make
(ByteBuddy byteBuddy, AgentBuilder.Listener listener, AgentBuilder.PoolStrategy poolStrategy, AgentBuilder.TypeStrategy typeStrategy, AgentBuilder.LocationStrategy locationStrategy, ClassFileLocator classFileLocator, AgentBuilder.Default.NativeMethodStrategy nativeMethodStrategy, AgentBuilder.InitializationStrategy initializationStrategy, AgentBuilder.InjectionStrategy injectionStrategy, AgentBuilder.LambdaInstrumentationStrategy lambdaInstrumentationStrategy, AgentBuilder.DescriptionStrategy descriptionStrategy, AgentBuilder.FallbackStrategy fallbackStrategy, AgentBuilder.ClassFileBufferStrategy classFileBufferStrategy, AgentBuilder.InstallationListener installationListener, AgentBuilder.RawMatcher ignoreMatcher, AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer resubmissionEnforcer, List<AgentBuilder.Default.Transformation> transformations, AgentBuilder.CircularityLock circularityLock) Creates a new class file transformer for the current VM.AgentBuilder.Default.ExecutingTransformer.Factory.make
(ByteBuddy byteBuddy, AgentBuilder.Listener listener, AgentBuilder.PoolStrategy poolStrategy, AgentBuilder.TypeStrategy typeStrategy, AgentBuilder.LocationStrategy locationStrategy, ClassFileLocator classFileLocator, AgentBuilder.Default.NativeMethodStrategy nativeMethodStrategy, AgentBuilder.InitializationStrategy initializationStrategy, AgentBuilder.InjectionStrategy injectionStrategy, AgentBuilder.LambdaInstrumentationStrategy lambdaInstrumentationStrategy, AgentBuilder.DescriptionStrategy descriptionStrategy, AgentBuilder.FallbackStrategy fallbackStrategy, AgentBuilder.ClassFileBufferStrategy classFileBufferStrategy, AgentBuilder.InstallationListener installationListener, AgentBuilder.RawMatcher ignoreMatcher, AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer resubmissionEnforcer, List<AgentBuilder.Default.Transformation> transformations, AgentBuilder.CircularityLock circularityLock) Creates a new class file transformer for the current VM.AgentBuilder.Default.makeRaw()
Creates aResettableClassFileTransformer
that implements the configuration of this agent builder.private ResettableClassFileTransformer
AgentBuilder.Default.makeRaw
(AgentBuilder.Listener listener, AgentBuilder.InstallationListener installationListener, AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer resubmissionEnforcer) Creates a new class file transformer with a given listener.AgentBuilder.Default.Delegator.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.Default.Delegator.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.Default.Delegator.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RawMatcher differentialMatcher) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.Default.Delegator.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RawMatcher differentialMatcher, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.Default.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.Default.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.Default.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RawMatcher differentialMatcher) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.Default.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RawMatcher differentialMatcher, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RawMatcher differentialMatcher) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RawMatcher differentialMatcher, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.Default.Delegator.patchOnByteBuddyAgent
(ResettableClassFileTransformer classFileTransformer) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.AgentBuilder.Default.Delegator.patchOnByteBuddyAgent
(ResettableClassFileTransformer classFileTransformer, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.AgentBuilder.Default.patchOnByteBuddyAgent
(ResettableClassFileTransformer classFileTransformer) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.AgentBuilder.Default.patchOnByteBuddyAgent
(ResettableClassFileTransformer classFileTransformer, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.AgentBuilder.patchOnByteBuddyAgent
(ResettableClassFileTransformer classFileTransformer) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.AgentBuilder.patchOnByteBuddyAgent
(ResettableClassFileTransformer classFileTransformer, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.ResettableClassFileTransformer.Substitutable.unwrap()
Returns the underlying non-substitutable class file transformer.ResettableClassFileTransformer.WithDelegation.Substitutable.unwrap()
Returns the underlying non-substitutable class file transformer.Methods in net.bytebuddy.agent.builder with parameters of type ResettableClassFileTransformerModifier and TypeMethodDescriptionvoid
AgentBuilder.Default.WarmupStrategy.apply
(ResettableClassFileTransformer classFileTransformer, AgentBuilder.LocationStrategy locationStrategy, AgentBuilder.RedefinitionStrategy redefinitionStrategy, AgentBuilder.CircularityLock circularityLock, AgentBuilder.InstallationListener listener) Applies this warm up strategy.void
AgentBuilder.Default.WarmupStrategy.Enabled.apply
(ResettableClassFileTransformer classFileTransformer, AgentBuilder.LocationStrategy locationStrategy, AgentBuilder.RedefinitionStrategy redefinitionStrategy, AgentBuilder.CircularityLock circularityLock, AgentBuilder.InstallationListener listener) Applies this warm up strategy.void
AgentBuilder.Default.WarmupStrategy.NoOp.apply
(ResettableClassFileTransformer classFileTransformer, AgentBuilder.LocationStrategy locationStrategy, AgentBuilder.RedefinitionStrategy redefinitionStrategy, AgentBuilder.CircularityLock circularityLock, AgentBuilder.InstallationListener listener) Applies this warm up strategy.AgentBuilder.TransformerDecorator.Compound.decorate
(ResettableClassFileTransformer classFileTransformer) Decorates the applied class file transformer.AgentBuilder.TransformerDecorator.decorate
(ResettableClassFileTransformer classFileTransformer) Decorates the applied class file transformer.AgentBuilder.TransformerDecorator.ForSubstitution.decorate
(ResettableClassFileTransformer classFileTransformer) Decorates the applied class file transformer.AgentBuilder.TransformerDecorator.NoOp.decorate
(ResettableClassFileTransformer classFileTransformer) Decorates the applied class file transformer.ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.ForJava9CapableVm.make
(ResettableClassFileTransformer classFileTransformer) Creates a new substitutable class file transformer.ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.ForLegacyVm.make
(ResettableClassFileTransformer classFileTransformer) Creates a new substitutable class file transformer.ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.make
(ResettableClassFileTransformer classFileTransformer) Creates a new substitutable class file transformer.protected static AgentBuilder.PatchMode
AgentBuilder.PatchMode.of
(ResettableClassFileTransformer classFileTransformer) Resolves a default patch mode for a givenResettableClassFileTransformer
.ResettableClassFileTransformer.WithDelegation.Substitutable.of
(ResettableClassFileTransformer classFileTransformer) Creates a new substitutable class file transformer of another class file transformer.void
AgentBuilder.InstallationListener.Adapter.onAfterWarmUp
(Map<Class<?>, byte[]> types, ResettableClassFileTransformer classFileTransformer, boolean transformed) Invoked after a warump is executed.void
AgentBuilder.InstallationListener.Compound.onAfterWarmUp
(Map<Class<?>, byte[]> types, ResettableClassFileTransformer classFileTransformer, boolean transformed) Invoked after a warump is executed.void
AgentBuilder.InstallationListener.ErrorSuppressing.onAfterWarmUp
(Map<Class<?>, byte[]> types, ResettableClassFileTransformer classFileTransformer, boolean transformed) Invoked after a warump is executed.void
AgentBuilder.InstallationListener.NoOp.onAfterWarmUp
(Map<Class<?>, byte[]> types, ResettableClassFileTransformer classFileTransformer, boolean transformed) Invoked after a warump is executed.void
AgentBuilder.InstallationListener.onAfterWarmUp
(Map<Class<?>, byte[]> types, ResettableClassFileTransformer classFileTransformer, boolean transformed) Invoked after a warump is executed.void
AgentBuilder.InstallationListener.StreamWriting.onAfterWarmUp
(Map<Class<?>, byte[]> types, ResettableClassFileTransformer classFileTransformer, boolean transformed) Invoked after a warump is executed.void
AgentBuilder.InstallationListener.Adapter.onBeforeInstall
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked prior to the installation of a class file transformer.void
AgentBuilder.InstallationListener.Compound.onBeforeInstall
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked prior to the installation of a class file transformer.void
AgentBuilder.InstallationListener.ErrorSuppressing.onBeforeInstall
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked prior to the installation of a class file transformer.void
AgentBuilder.InstallationListener.NoOp.onBeforeInstall
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked prior to the installation of a class file transformer.void
AgentBuilder.InstallationListener.onBeforeInstall
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked prior to the installation of a class file transformer.void
AgentBuilder.InstallationListener.StreamWriting.onBeforeInstall
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked prior to the installation of a class file transformer.void
AgentBuilder.InstallationListener.Adapter.onBeforeWarmUp
(Set<Class<?>> types, ResettableClassFileTransformer classFileTransformer) Invoked before a warump is executed.void
AgentBuilder.InstallationListener.Compound.onBeforeWarmUp
(Set<Class<?>> types, ResettableClassFileTransformer classFileTransformer) Invoked before a warump is executed.void
AgentBuilder.InstallationListener.ErrorSuppressing.onBeforeWarmUp
(Set<Class<?>> types, ResettableClassFileTransformer classFileTransformer) Invoked before a warump is executed.void
AgentBuilder.InstallationListener.NoOp.onBeforeWarmUp
(Set<Class<?>> types, ResettableClassFileTransformer classFileTransformer) Invoked before a warump is executed.void
AgentBuilder.InstallationListener.onBeforeWarmUp
(Set<Class<?>> types, ResettableClassFileTransformer classFileTransformer) Invoked before a warump is executed.void
AgentBuilder.InstallationListener.StreamWriting.onBeforeWarmUp
(Set<Class<?>> types, ResettableClassFileTransformer classFileTransformer) Invoked before a warump is executed.AgentBuilder.InstallationListener.Adapter.onError
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, Throwable throwable) Invoked if an installation causes an error.AgentBuilder.InstallationListener.Compound.onError
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, Throwable throwable) Invoked if an installation causes an error.AgentBuilder.InstallationListener.ErrorSuppressing.onError
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, Throwable throwable) Invoked if an installation causes an error.AgentBuilder.InstallationListener.NoOp.onError
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, Throwable throwable) Invoked if an installation causes an error.AgentBuilder.InstallationListener.onError
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, Throwable throwable) Invoked if an installation causes an error.AgentBuilder.InstallationListener.StreamWriting.onError
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, Throwable throwable) Invoked if an installation causes an error.void
AgentBuilder.InstallationListener.Adapter.onInstall
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked upon the successful installation of a class file transformer.void
AgentBuilder.InstallationListener.Compound.onInstall
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked upon the successful installation of a class file transformer.void
AgentBuilder.InstallationListener.ErrorSuppressing.onInstall
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked upon the successful installation of a class file transformer.void
AgentBuilder.InstallationListener.NoOp.onInstall
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked upon the successful installation of a class file transformer.void
AgentBuilder.InstallationListener.onInstall
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked upon the successful installation of a class file transformer.void
AgentBuilder.InstallationListener.StreamWriting.onInstall
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked upon the successful installation of a class file transformer.void
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.ResubmissionInstallationListener.onInstall
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) boolean
AgentBuilder.PatchMode.Handler.ForPatchWithGap.onRegistration
(ResettableClassFileTransformer classFileTransformer) Invoked upon registering a class file transformer.boolean
AgentBuilder.PatchMode.Handler.ForPatchWithOverlap.onRegistration
(ResettableClassFileTransformer classFileTransformer) Invoked upon registering a class file transformer.boolean
AgentBuilder.PatchMode.Handler.ForPatchWithSubstitution.onRegistration
(ResettableClassFileTransformer classFileTransformer) Invoked upon registering a class file transformer.boolean
AgentBuilder.PatchMode.Handler.NoOp.onRegistration
(ResettableClassFileTransformer classFileTransformer) Invoked upon registering a class file transformer.boolean
AgentBuilder.PatchMode.Handler.onRegistration
(ResettableClassFileTransformer classFileTransformer) Invoked upon registering a class file transformer.void
AgentBuilder.InstallationListener.Adapter.onReset
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked if an installation is reset.void
AgentBuilder.InstallationListener.Compound.onReset
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked if an installation is reset.void
AgentBuilder.InstallationListener.ErrorSuppressing.onReset
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked if an installation is reset.void
AgentBuilder.InstallationListener.NoOp.onReset
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked if an installation is reset.void
AgentBuilder.InstallationListener.onReset
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked if an installation is reset.void
AgentBuilder.InstallationListener.StreamWriting.onReset
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked if an installation is reset.void
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.ResubmissionInstallationListener.onReset
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) void
AgentBuilder.InstallationListener.Adapter.onWarmUpError
(Class<?> type, ResettableClassFileTransformer classFileTransformer, Throwable throwable) Invoked when a class yields an unexpected error that is not catched by the listener.void
AgentBuilder.InstallationListener.Compound.onWarmUpError
(Class<?> type, ResettableClassFileTransformer classFileTransformer, Throwable throwable) Invoked when a class yields an unexpected error that is not catched by the listener.void
AgentBuilder.InstallationListener.ErrorSuppressing.onWarmUpError
(Class<?> type, ResettableClassFileTransformer classFileTransformer, Throwable throwable) Invoked when a class yields an unexpected error that is not catched by the listener.void
AgentBuilder.InstallationListener.NoOp.onWarmUpError
(Class<?> type, ResettableClassFileTransformer classFileTransformer, Throwable throwable) Invoked when a class yields an unexpected error that is not catched by the listener.void
AgentBuilder.InstallationListener.onWarmUpError
(Class<?> type, ResettableClassFileTransformer classFileTransformer, Throwable throwable) Invoked when a class yields an unexpected error that is not catched by the listener.void
AgentBuilder.InstallationListener.StreamWriting.onWarmUpError
(Class<?> type, ResettableClassFileTransformer classFileTransformer, Throwable throwable) Invoked when a class yields an unexpected error that is not catched by the listener.AgentBuilder.Default.Delegator.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.Default.Delegator.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.Default.Delegator.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RawMatcher differentialMatcher) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.Default.Delegator.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RawMatcher differentialMatcher, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.Default.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.Default.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.Default.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RawMatcher differentialMatcher) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.Default.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RawMatcher differentialMatcher, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RawMatcher differentialMatcher) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.patchOn
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RawMatcher differentialMatcher, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.AgentBuilder.Default.Delegator.patchOnByteBuddyAgent
(ResettableClassFileTransformer classFileTransformer) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.AgentBuilder.Default.Delegator.patchOnByteBuddyAgent
(ResettableClassFileTransformer classFileTransformer, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.AgentBuilder.Default.patchOnByteBuddyAgent
(ResettableClassFileTransformer classFileTransformer) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.AgentBuilder.Default.patchOnByteBuddyAgent
(ResettableClassFileTransformer classFileTransformer, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.AgentBuilder.patchOnByteBuddyAgent
(ResettableClassFileTransformer classFileTransformer) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.AgentBuilder.patchOnByteBuddyAgent
(ResettableClassFileTransformer classFileTransformer, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.boolean
AgentBuilder.Default.ExecutingTransformer.reset
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RedefinitionStrategy redefinitionStrategy, AgentBuilder.RedefinitionStrategy.DiscoveryStrategy redefinitionDiscoveryStrategy, AgentBuilder.RedefinitionStrategy.BatchAllocator redefinitionBatchAllocator, AgentBuilder.RedefinitionStrategy.Listener redefinitionListener) Deregisters this class file transformer and redefines any transformed class to its state without this class file transformer applied, if the supplied redefinition strategy is enabled.boolean
ResettableClassFileTransformer.reset
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RedefinitionStrategy redefinitionStrategy, AgentBuilder.RedefinitionStrategy.DiscoveryStrategy redefinitionDiscoveryStrategy, AgentBuilder.RedefinitionStrategy.BatchAllocator redefinitionBatchAllocator, AgentBuilder.RedefinitionStrategy.Listener redefinitionListener) Deregisters this class file transformer and redefines any transformed class to its state without this class file transformer applied, if the supplied redefinition strategy is enabled.boolean
ResettableClassFileTransformer.WithDelegation.reset
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RedefinitionStrategy redefinitionStrategy, AgentBuilder.RedefinitionStrategy.DiscoveryStrategy redefinitionDiscoveryStrategy, AgentBuilder.RedefinitionStrategy.BatchAllocator redefinitionBatchAllocator, AgentBuilder.RedefinitionStrategy.Listener redefinitionListener) Deregisters this class file transformer and redefines any transformed class to its state without this class file transformer applied, if the supplied redefinition strategy is enabled.boolean
ResettableClassFileTransformer.WithDelegation.Substitutable.reset
(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RedefinitionStrategy redefinitionStrategy, AgentBuilder.RedefinitionStrategy.DiscoveryStrategy redefinitionDiscoveryStrategy, AgentBuilder.RedefinitionStrategy.BatchAllocator redefinitionBatchAllocator, AgentBuilder.RedefinitionStrategy.Listener redefinitionListener) Deregisters this class file transformer and redefines any transformed class to its state without this class file transformer applied, if the supplied redefinition strategy is enabled.void
ResettableClassFileTransformer.Substitutable.substitute
(ResettableClassFileTransformer classFileTransformer) Substitutes the current class file transformer.void
ResettableClassFileTransformer.WithDelegation.Substitutable.substitute
(ResettableClassFileTransformer classFileTransformer) Substitutes the current class file transformer.protected abstract AgentBuilder.PatchMode.Handler
AgentBuilder.PatchMode.toHandler
(ResettableClassFileTransformer classFileTransformer) Resolves this strategy to a handler.Constructors in net.bytebuddy.agent.builder with parameters of type ResettableClassFileTransformerModifierConstructorDescriptionprotected
DifferentialMatcher
(AgentBuilder.RawMatcher ignoreMatcher, List<AgentBuilder.Default.Transformation> transformations, ResettableClassFileTransformer classFileTransformer) Creates a new differential matcher.protected
ForPatchWithGap
(ResettableClassFileTransformer classFileTransformer) Creates a new handler.protected
ForPatchWithOverlap
(ResettableClassFileTransformer classFileTransformer) Creates a new handler.protected
Substitutable
(ResettableClassFileTransformer classFileTransformer) Creates a new delegating resettable class file transformer.protected
WithDelegation
(ResettableClassFileTransformer classFileTransformer) Creates a new delegating resettable class file transformer.Constructor parameters in net.bytebuddy.agent.builder with type arguments of type ResettableClassFileTransformerModifierConstructorDescriptionprotected
ForJava9CapableVm
(Constructor<? extends ResettableClassFileTransformer> executingTransformer) Creates a class file transformer factory for a Java 9 capable VM.