public static interface AgentBuilder.Transformer
DynamicType. Such a modification
is then applied to any instrumented type that was matched by the preceding matcher.| Modifier and Type | Interface and Description |
|---|---|
static class |
AgentBuilder.Transformer.Compound
A compound transformer that allows to group several
AgentBuilder.Transformers as a single transformer. |
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 |
|---|---|
DynamicType.Builder<?> |
transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader)
Allows for a transformation of a
DynamicType.Builder. |
DynamicType.Builder<?> transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassLoader classLoader)
DynamicType.Builder.builder - The dynamic builder to transform.typeDescription - The description of the type currently being instrumented.classLoader - The class loader of the instrumented class. Might be null to
represent the bootstrap class loader.builder.Copyright © 2014–2016. All rights reserved.