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 interfaceAResettableClassFileTransformerwhich 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 classAClassFileTransformerthat implements the enclosing agent builder's configuration.static classAn abstract base implementation of aResettableClassFileTransformer.static classImplements a resettable class file transformer that allows for the delegation of a transformation.protected static classA standard implementation of a substitutableResettableClassFileTransformer.protected static classA class file transformer with a callback.Fields in net.bytebuddy.agent.builder declared as ResettableClassFileTransformerModifier and TypeFieldDescriptionprivate final ResettableClassFileTransformerAgentBuilder.Default.Transformation.DifferentialMatcher.classFileTransformerThe class file transformer representing the differential.private final ResettableClassFileTransformerAgentBuilder.PatchMode.Handler.ForPatchWithGap.classFileTransformerThe class file transformer to deregister.private final ResettableClassFileTransformerAgentBuilder.PatchMode.Handler.ForPatchWithOverlap.classFileTransformerThe class file transformer to deregister.protected final ResettableClassFileTransformerResettableClassFileTransformer.WithDelegation.classFileTransformerThe class file transformer to delegate to.protected ResettableClassFileTransformerResettableClassFileTransformer.WithDelegation.Substitutable.classFileTransformerThe 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.executingTransformerA constructor for creating aClassFileTransformerthat overrides the newly added method for extracting thejava.lang.Moduleof an instrumented class.private final Constructor<? extends ResettableClassFileTransformer> ResettableClassFileTransformer.WithDelegation.WithCallback.Factory.ForJava9CapableVm.withCallbackThe constructor to invoke.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 ResettableClassFileTransformerAgentBuilder.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 aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.Default.installOn(Instrumentation instrumentation) Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.installOn(Instrumentation instrumentation) Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.Default.Delegator.installOnByteBuddyAgent()Creates and installs aResettableClassFileTransformerthat 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 aResettableClassFileTransformerthat 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 aResettableClassFileTransformerthat 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.ResettableClassFileTransformer.WithDelegation.WithCallback.Factory.ForJava9CapableVm.make(ResettableClassFileTransformer classFileTransformer, ResettableClassFileTransformer.WithDelegation.Callback<?> callback) Creates a new substitutable class file transformer.ResettableClassFileTransformer.WithDelegation.WithCallback.Factory.ForLegacyVm.make(ResettableClassFileTransformer classFileTransformer, ResettableClassFileTransformer.WithDelegation.Callback<?> callback) Creates a new substitutable class file transformer.ResettableClassFileTransformer.WithDelegation.WithCallback.Factory.make(ResettableClassFileTransformer classFileTransformer, ResettableClassFileTransformer.WithDelegation.Callback<?> callback) Creates a new substitutable class file transformer.AgentBuilder.Default.makeRaw()Creates aResettableClassFileTransformerthat implements the configuration of this agent builder.private ResettableClassFileTransformerAgentBuilder.Default.makeRaw(AgentBuilder.Listener listener, AgentBuilder.InstallationListener installationListener, AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer resubmissionEnforcer) Creates a new class file transformer with a given listener.ResettableClassFileTransformer.WithDelegation.of(ResettableClassFileTransformer classFileTransformer, ResettableClassFileTransformer.WithDelegation.Callback<?> callback) Creates a resettable class file transformer that wraps another transformer and adds a callback to the beginning and end of each transformation.AgentBuilder.Default.Delegator.patchOn(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.Default.Delegator.patchOn(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.Default.Delegator.patchOn(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RawMatcher differentialMatcher) Creates and installs aResettableClassFileTransformerthat 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 aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.Default.patchOn(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.Default.patchOn(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.Default.patchOn(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RawMatcher differentialMatcher) Creates and installs aResettableClassFileTransformerthat 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 aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.patchOn(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.patchOn(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.patchOn(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RawMatcher differentialMatcher) Creates and installs aResettableClassFileTransformerthat 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 aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.Default.Delegator.patchOnByteBuddyAgent(ResettableClassFileTransformer classFileTransformer) Creates and installs aResettableClassFileTransformerthat 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 aResettableClassFileTransformerthat 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 aResettableClassFileTransformerthat 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 aResettableClassFileTransformerthat 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 aResettableClassFileTransformerthat 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 aResettableClassFileTransformerthat 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 TypeMethodDescriptionvoidAgentBuilder.Default.WarmupStrategy.apply(ResettableClassFileTransformer classFileTransformer, AgentBuilder.LocationStrategy locationStrategy, AgentBuilder.RedefinitionStrategy redefinitionStrategy, AgentBuilder.CircularityLock circularityLock, AgentBuilder.InstallationListener listener) Applies this warm up strategy.voidAgentBuilder.Default.WarmupStrategy.Enabled.apply(ResettableClassFileTransformer classFileTransformer, AgentBuilder.LocationStrategy locationStrategy, AgentBuilder.RedefinitionStrategy redefinitionStrategy, AgentBuilder.CircularityLock circularityLock, AgentBuilder.InstallationListener listener) Applies this warm up strategy.voidAgentBuilder.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.ResettableClassFileTransformer.WithDelegation.WithCallback.Factory.ForJava9CapableVm.make(ResettableClassFileTransformer classFileTransformer, ResettableClassFileTransformer.WithDelegation.Callback<?> callback) Creates a new substitutable class file transformer.ResettableClassFileTransformer.WithDelegation.WithCallback.Factory.ForLegacyVm.make(ResettableClassFileTransformer classFileTransformer, ResettableClassFileTransformer.WithDelegation.Callback<?> callback) Creates a new substitutable class file transformer.ResettableClassFileTransformer.WithDelegation.WithCallback.Factory.make(ResettableClassFileTransformer classFileTransformer, ResettableClassFileTransformer.WithDelegation.Callback<?> callback) Creates a new substitutable class file transformer.protected static AgentBuilder.PatchModeAgentBuilder.PatchMode.of(ResettableClassFileTransformer classFileTransformer) Resolves a default patch mode for a givenResettableClassFileTransformer.ResettableClassFileTransformer.WithDelegation.of(ResettableClassFileTransformer classFileTransformer, ResettableClassFileTransformer.WithDelegation.Callback<?> callback) Creates a resettable class file transformer that wraps another transformer and adds a callback to the beginning and end of each transformation.ResettableClassFileTransformer.WithDelegation.Substitutable.of(ResettableClassFileTransformer classFileTransformer) Creates a new substitutable class file transformer of another class file transformer.voidAgentBuilder.InstallationListener.Adapter.onAfterWarmUp(Map<Class<?>, byte[]> types, ResettableClassFileTransformer classFileTransformer, boolean transformed) Invoked after a warump is executed.voidAgentBuilder.InstallationListener.Compound.onAfterWarmUp(Map<Class<?>, byte[]> types, ResettableClassFileTransformer classFileTransformer, boolean transformed) Invoked after a warump is executed.voidAgentBuilder.InstallationListener.ErrorSuppressing.onAfterWarmUp(Map<Class<?>, byte[]> types, ResettableClassFileTransformer classFileTransformer, boolean transformed) Invoked after a warump is executed.voidAgentBuilder.InstallationListener.NoOp.onAfterWarmUp(Map<Class<?>, byte[]> types, ResettableClassFileTransformer classFileTransformer, boolean transformed) Invoked after a warump is executed.voidAgentBuilder.InstallationListener.onAfterWarmUp(Map<Class<?>, byte[]> types, ResettableClassFileTransformer classFileTransformer, boolean transformed) Invoked after a warump is executed.voidAgentBuilder.InstallationListener.StreamWriting.onAfterWarmUp(Map<Class<?>, byte[]> types, ResettableClassFileTransformer classFileTransformer, boolean transformed) Invoked after a warump is executed.voidAgentBuilder.InstallationListener.Adapter.onBeforeInstall(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked prior to the installation of a class file transformer.voidAgentBuilder.InstallationListener.Compound.onBeforeInstall(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked prior to the installation of a class file transformer.voidAgentBuilder.InstallationListener.ErrorSuppressing.onBeforeInstall(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked prior to the installation of a class file transformer.voidAgentBuilder.InstallationListener.NoOp.onBeforeInstall(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked prior to the installation of a class file transformer.voidAgentBuilder.InstallationListener.onBeforeInstall(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked prior to the installation of a class file transformer.voidAgentBuilder.InstallationListener.StreamWriting.onBeforeInstall(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked prior to the installation of a class file transformer.voidAgentBuilder.InstallationListener.Adapter.onBeforeWarmUp(Set<Class<?>> types, ResettableClassFileTransformer classFileTransformer) Invoked before a warump is executed.voidAgentBuilder.InstallationListener.Compound.onBeforeWarmUp(Set<Class<?>> types, ResettableClassFileTransformer classFileTransformer) Invoked before a warump is executed.voidAgentBuilder.InstallationListener.ErrorSuppressing.onBeforeWarmUp(Set<Class<?>> types, ResettableClassFileTransformer classFileTransformer) Invoked before a warump is executed.voidAgentBuilder.InstallationListener.NoOp.onBeforeWarmUp(Set<Class<?>> types, ResettableClassFileTransformer classFileTransformer) Invoked before a warump is executed.voidAgentBuilder.InstallationListener.onBeforeWarmUp(Set<Class<?>> types, ResettableClassFileTransformer classFileTransformer) Invoked before a warump is executed.voidAgentBuilder.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.voidAgentBuilder.InstallationListener.Adapter.onInstall(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked upon the successful installation of a class file transformer.voidAgentBuilder.InstallationListener.Compound.onInstall(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked upon the successful installation of a class file transformer.voidAgentBuilder.InstallationListener.ErrorSuppressing.onInstall(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked upon the successful installation of a class file transformer.voidAgentBuilder.InstallationListener.NoOp.onInstall(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked upon the successful installation of a class file transformer.voidAgentBuilder.InstallationListener.onInstall(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked upon the successful installation of a class file transformer.voidAgentBuilder.InstallationListener.StreamWriting.onInstall(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked upon the successful installation of a class file transformer.voidAgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.ResubmissionInstallationListener.onInstall(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) booleanAgentBuilder.PatchMode.Handler.ForPatchWithGap.onRegistration(ResettableClassFileTransformer classFileTransformer) Invoked upon registering a class file transformer.booleanAgentBuilder.PatchMode.Handler.ForPatchWithOverlap.onRegistration(ResettableClassFileTransformer classFileTransformer) Invoked upon registering a class file transformer.booleanAgentBuilder.PatchMode.Handler.ForPatchWithSubstitution.onRegistration(ResettableClassFileTransformer classFileTransformer) Invoked upon registering a class file transformer.booleanAgentBuilder.PatchMode.Handler.NoOp.onRegistration(ResettableClassFileTransformer classFileTransformer) Invoked upon registering a class file transformer.booleanAgentBuilder.PatchMode.Handler.onRegistration(ResettableClassFileTransformer classFileTransformer) Invoked upon registering a class file transformer.voidAgentBuilder.InstallationListener.Adapter.onReset(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked if an installation is reset.voidAgentBuilder.InstallationListener.Compound.onReset(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked if an installation is reset.voidAgentBuilder.InstallationListener.ErrorSuppressing.onReset(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked if an installation is reset.voidAgentBuilder.InstallationListener.NoOp.onReset(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked if an installation is reset.voidAgentBuilder.InstallationListener.onReset(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked if an installation is reset.voidAgentBuilder.InstallationListener.StreamWriting.onReset(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Invoked if an installation is reset.voidAgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.ResubmissionInstallationListener.onReset(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) voidAgentBuilder.InstallationListener.Adapter.onWarmUpError(Class<?> type, ResettableClassFileTransformer classFileTransformer, Throwable throwable) Invoked when a class yields an unexpected error that is not catched by the listener.voidAgentBuilder.InstallationListener.Compound.onWarmUpError(Class<?> type, ResettableClassFileTransformer classFileTransformer, Throwable throwable) Invoked when a class yields an unexpected error that is not catched by the listener.voidAgentBuilder.InstallationListener.ErrorSuppressing.onWarmUpError(Class<?> type, ResettableClassFileTransformer classFileTransformer, Throwable throwable) Invoked when a class yields an unexpected error that is not catched by the listener.voidAgentBuilder.InstallationListener.NoOp.onWarmUpError(Class<?> type, ResettableClassFileTransformer classFileTransformer, Throwable throwable) Invoked when a class yields an unexpected error that is not catched by the listener.voidAgentBuilder.InstallationListener.onWarmUpError(Class<?> type, ResettableClassFileTransformer classFileTransformer, Throwable throwable) Invoked when a class yields an unexpected error that is not catched by the listener.voidAgentBuilder.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 aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.Default.Delegator.patchOn(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.Default.Delegator.patchOn(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RawMatcher differentialMatcher) Creates and installs aResettableClassFileTransformerthat 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 aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.Default.patchOn(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.Default.patchOn(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.Default.patchOn(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RawMatcher differentialMatcher) Creates and installs aResettableClassFileTransformerthat 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 aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.patchOn(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer) Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.patchOn(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.PatchMode patchMode) Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.patchOn(Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RawMatcher differentialMatcher) Creates and installs aResettableClassFileTransformerthat 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 aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.AgentBuilder.Default.Delegator.patchOnByteBuddyAgent(ResettableClassFileTransformer classFileTransformer) Creates and installs aResettableClassFileTransformerthat 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 aResettableClassFileTransformerthat 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 aResettableClassFileTransformerthat 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 aResettableClassFileTransformerthat 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 aResettableClassFileTransformerthat 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 aResettableClassFileTransformerthat implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.booleanAgentBuilder.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.booleanResettableClassFileTransformer.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.booleanResettableClassFileTransformer.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.booleanResettableClassFileTransformer.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.voidResettableClassFileTransformer.Substitutable.substitute(ResettableClassFileTransformer classFileTransformer) Substitutes the current class file transformer.voidResettableClassFileTransformer.WithDelegation.Substitutable.substitute(ResettableClassFileTransformer classFileTransformer) Substitutes the current class file transformer.protected abstract AgentBuilder.PatchMode.HandlerAgentBuilder.PatchMode.toHandler(ResettableClassFileTransformer classFileTransformer) Resolves this strategy to a handler.Constructors in net.bytebuddy.agent.builder with parameters of type ResettableClassFileTransformerModifierConstructorDescriptionprotectedDifferentialMatcher(AgentBuilder.RawMatcher ignoreMatcher, List<AgentBuilder.Default.Transformation> transformations, ResettableClassFileTransformer classFileTransformer) Creates a new differential matcher.protectedForPatchWithGap(ResettableClassFileTransformer classFileTransformer) Creates a new handler.protectedForPatchWithOverlap(ResettableClassFileTransformer classFileTransformer) Creates a new handler.protectedSubstitutable(ResettableClassFileTransformer classFileTransformer) Creates a new delegating resettable class file transformer.protectedWithCallback(ResettableClassFileTransformer classFileTransformer, ResettableClassFileTransformer.WithDelegation.Callback<T> callback) Creates a delegating class file transformer with callback.protectedWithDelegation(ResettableClassFileTransformer classFileTransformer) Creates a new delegating resettable class file transformer.Constructor parameters in net.bytebuddy.agent.builder with type arguments of type ResettableClassFileTransformerModifierConstructorDescriptionprotectedForJava9CapableVm(Constructor<? extends ResettableClassFileTransformer> executingTransformer) Creates a class file transformer factory for a Java 9 capable VM.protectedForJava9CapableVm(Constructor<? extends ResettableClassFileTransformer> withCallback) Creates a new Java 9 capable factory.