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.Compound
A compound transformer that allows to group several
AgentBuilder.Transformer s as a single transformer. |
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 . |
static class |
AgentBuilder.Transformer.NoOp
A no-op implementation of a
AgentBuilder.Transformer that does
not modify the supplied dynamic type. |
Modifier and Type | Method and Description |
---|---|
AgentBuilder.Default.Transformation.Resolution |
AgentBuilder.Default.Transformation.Resolution.Decoratable.append(AgentBuilder.Transformer transformer)
Appends the supplied transformer to this resolution.
|
AgentBuilder.Default.Transformation.Resolution |
AgentBuilder.Default.Transformation.Simple.Resolution.append(AgentBuilder.Transformer transformer) |
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) |
Constructor and Description |
---|
Compound(AgentBuilder.Transformer... transformer)
Creates a new compound transformer.
|
Resolution(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain,
boolean loaded,
TypePool typePool,
AgentBuilder.Transformer transformer,
boolean decorator)
Creates a new active transformation.
|
Simple(AgentBuilder.RawMatcher rawMatcher,
AgentBuilder.Transformer transformer,
boolean decorator)
Creates a new transformation.
|
Transforming(AgentBuilder.RawMatcher rawMatcher,
AgentBuilder.Transformer transformer,
boolean decorator)
Creates a new matched default agent builder.
|
Constructor and Description |
---|
Compound(List<? extends AgentBuilder.Transformer> transformers)
Creates a new compound transformer.
|
Copyright © 2014–2017. All rights reserved.