| 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 | Class and Description |
|---|---|
static class |
AgentBuilder.Default.Transformation.Compound
A compound transformation that applied several transformation in the given order and applies the first active transformation.
|
static class |
AgentBuilder.Default.Transformation.Ignored
A transformation that does not attempt to transform any type.
|
static class |
AgentBuilder.Default.Transformation.Simple
A simple, active transformation.
|
| Modifier and Type | Method and Description |
|---|---|
ClassFileTransformer |
AgentBuilder.Default.ExecutingTransformer.Factory.make(ByteBuddy byteBuddy,
AgentBuilder.TypeLocator typeLocator,
AgentBuilder.TypeStrategy typeStrategy,
AgentBuilder.Listener listener,
AgentBuilder.Default.NativeMethodStrategy nativeMethodStrategy,
AccessControlContext accessControlContext,
AgentBuilder.InitializationStrategy initializationStrategy,
AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy,
AgentBuilder.RawMatcher ignoredTypeMatcher,
AgentBuilder.Default.Transformation transformation)
Creates a new class file transformer for the current VM.
|
ClassFileTransformer |
AgentBuilder.Default.ExecutingTransformer.Factory.ForJava9CapableVm.make(ByteBuddy byteBuddy,
AgentBuilder.TypeLocator typeLocator,
AgentBuilder.TypeStrategy typeStrategy,
AgentBuilder.Listener listener,
AgentBuilder.Default.NativeMethodStrategy nativeMethodStrategy,
AccessControlContext accessControlContext,
AgentBuilder.InitializationStrategy initializationStrategy,
AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy,
AgentBuilder.RawMatcher ignoredTypeMatcher,
AgentBuilder.Default.Transformation transformation) |
ClassFileTransformer |
AgentBuilder.Default.ExecutingTransformer.Factory.ForLegacyVm.make(ByteBuddy byteBuddy,
AgentBuilder.TypeLocator typeLocator,
AgentBuilder.TypeStrategy typeStrategy,
AgentBuilder.Listener listener,
AgentBuilder.Default.NativeMethodStrategy nativeMethodStrategy,
AccessControlContext accessControlContext,
AgentBuilder.InitializationStrategy initializationStrategy,
AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy,
AgentBuilder.RawMatcher ignoredTypeMatcher,
AgentBuilder.Default.Transformation transformation) |
protected abstract AgentBuilder.RedefinitionStrategy.Collector |
AgentBuilder.RedefinitionStrategy.makeCollector(AgentBuilder.Default.Transformation transformation)
Creates a collector instance that is responsible for collecting loaded classes for potential retransformation.
|
| Constructor and Description |
|---|
Compound(List<? extends AgentBuilder.Default.Transformation> transformations)
Creates a new compound transformation.
|
Copyright © 2014–2016. All rights reserved.