@HashCodeAndEqualsPlugin.Enhance public static class AgentBuilder.Transformer.Compound extends Object implements AgentBuilder.Transformer
AgentBuilder.Transformers as a single transformer.AgentBuilder.Transformer.Compound, AgentBuilder.Transformer.ForAdvice, AgentBuilder.Transformer.ForBuildPlugin, AgentBuilder.Transformer.NoOp| Constructor and Description |
|---|
Compound(AgentBuilder.Transformer... transformer)
Creates a new compound transformer.
|
Compound(List<? extends AgentBuilder.Transformer> transformers)
Creates a new compound transformer.
|
| Modifier and Type | Method and Description |
|---|---|
DynamicType.Builder<?> |
transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module)
Allows for a transformation of a
DynamicType.Builder. |
public Compound(AgentBuilder.Transformer... transformer)
transformer - The transformers to apply in their application order.public Compound(List<? extends AgentBuilder.Transformer> transformers)
transformers - The transformers to apply in their application order.public DynamicType.Builder<?> transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassLoader classLoader, JavaModule module)
DynamicType.Builder.transform in interface AgentBuilder.Transformerbuilder - 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.module - The class's module or null if the current VM does not support modules.builder.Copyright © 2014–2019. All rights reserved.