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.Transformer.ForAdvice
A transformer for applying an
Advice where this advice class might reference types of both the agent's and the user's
class loader. |
static class |
AgentBuilder.Transformer.ForBuildPlugin
A transformer that applies a build
Plugin . |
Modifier and Type | Method and Description |
---|---|
AgentBuilder.Transformer |
AgentBuilder.Default.Transformation.TransformerIterator.next() |
Modifier and Type | Method and Description |
---|---|
protected List<AgentBuilder.Transformer> |
AgentBuilder.Default.Transformation.getTransformers()
Returns a list of transformers to apply.
|
Iterator<AgentBuilder.Transformer> |
ResettableClassFileTransformer.iterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.
|
Iterator<AgentBuilder.Transformer> |
ResettableClassFileTransformer.WithDelegation.iterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.
|
Iterator<AgentBuilder.Transformer> |
AgentBuilder.Default.ExecutingTransformer.iterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.
|
Modifier and Type | Method and Description |
---|---|
AgentBuilder.Identified.Extendable |
AgentBuilder.Identified.transform(AgentBuilder.Transformer transformer)
Applies the given transformer for the already supplied matcher.
|
AgentBuilder.Identified.Extendable |
AgentBuilder.Default.Transforming.transform(AgentBuilder.Transformer transformer)
Applies the given transformer for the already supplied matcher.
|
Constructor and Description |
---|
Transformation(AgentBuilder.RawMatcher matcher,
List<AgentBuilder.Transformer> transformers,
boolean terminal)
Creates a new transformation.
|
Transforming(AgentBuilder.RawMatcher rawMatcher,
List<AgentBuilder.Transformer> transformers,
boolean terminal)
Creates a new matched default agent builder.
|
Copyright © 2014–2020. All rights reserved.