Package | Description |
---|---|
net.bytebuddy.agent.builder |
An agent builder is used to easily implement load-time class-transformations using a Java agent.
|
Modifier and Type | Method and Description |
---|---|
protected static AgentBuilder.PatchMode |
AgentBuilder.PatchMode.of(ResettableClassFileTransformer classFileTransformer)
Resolves a default patch mode for a given
ResettableClassFileTransformer . |
static AgentBuilder.PatchMode |
AgentBuilder.PatchMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentBuilder.PatchMode[] |
AgentBuilder.PatchMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ResettableClassFileTransformer |
AgentBuilder.patchOn(Instrumentation instrumentation,
ResettableClassFileTransformer classFileTransformer,
AgentBuilder.PatchMode patchMode)
Creates and installs a
ResettableClassFileTransformer that implements the configuration of
this agent builder with a given Instrumentation . |
ResettableClassFileTransformer |
AgentBuilder.Default.patchOn(Instrumentation instrumentation,
ResettableClassFileTransformer classFileTransformer,
AgentBuilder.PatchMode patchMode)
Creates and installs a
ResettableClassFileTransformer that implements the configuration of
this agent builder with a given Instrumentation . |
ResettableClassFileTransformer |
AgentBuilder.Default.Delegator.patchOn(Instrumentation instrumentation,
ResettableClassFileTransformer classFileTransformer,
AgentBuilder.PatchMode patchMode)
Creates and installs a
ResettableClassFileTransformer that implements the configuration of
this agent builder with a given Instrumentation . |
ResettableClassFileTransformer |
AgentBuilder.patchOn(Instrumentation instrumentation,
ResettableClassFileTransformer classFileTransformer,
AgentBuilder.RawMatcher differentialMatcher,
AgentBuilder.PatchMode patchMode)
Creates and installs a
ResettableClassFileTransformer that implements the configuration of
this agent builder with a given Instrumentation . |
ResettableClassFileTransformer |
AgentBuilder.Default.patchOn(Instrumentation instrumentation,
ResettableClassFileTransformer classFileTransformer,
AgentBuilder.RawMatcher differentialMatcher,
AgentBuilder.PatchMode patchMode)
Creates and installs a
ResettableClassFileTransformer that implements the configuration of
this agent builder with a given Instrumentation . |
ResettableClassFileTransformer |
AgentBuilder.Default.Delegator.patchOn(Instrumentation instrumentation,
ResettableClassFileTransformer classFileTransformer,
AgentBuilder.RawMatcher differentialMatcher,
AgentBuilder.PatchMode patchMode)
Creates and installs a
ResettableClassFileTransformer that implements the configuration of
this agent builder with a given Instrumentation . |
ResettableClassFileTransformer |
AgentBuilder.patchOnByteBuddyAgent(ResettableClassFileTransformer classFileTransformer,
AgentBuilder.PatchMode patchMode)
Creates and installs a
ResettableClassFileTransformer that implements the configuration of
this agent builder with the Byte Buddy-agent which must be installed prior to calling this method. |
ResettableClassFileTransformer |
AgentBuilder.Default.patchOnByteBuddyAgent(ResettableClassFileTransformer classFileTransformer,
AgentBuilder.PatchMode patchMode)
Creates and installs a
ResettableClassFileTransformer that implements the configuration of
this agent builder with the Byte Buddy-agent which must be installed prior to calling this method. |
ResettableClassFileTransformer |
AgentBuilder.Default.Delegator.patchOnByteBuddyAgent(ResettableClassFileTransformer classFileTransformer,
AgentBuilder.PatchMode patchMode)
Creates and installs a
ResettableClassFileTransformer that implements the configuration of
this agent builder with the Byte Buddy-agent which must be installed prior to calling this method. |
Copyright © 2014–2024. All rights reserved.