public static class AgentBuilder.Transformer.Compound extends Object implements AgentBuilder.Transformer
AgentBuilder.Transformers as a single transformer.AgentBuilder.Transformer.Compound, AgentBuilder.Transformer.ForBuildPlugin, AgentBuilder.Transformer.NoOp| Constructor and Description |
|---|
Compound(AgentBuilder.Transformer... transformer)
Creates a new compound transformer.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
DynamicType.Builder<?> |
transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader)
Allows for a transformation of a
DynamicType.Builder. |
public Compound(AgentBuilder.Transformer... transformer)
transformer - The transformers to apply in their application order.public DynamicType.Builder<?> transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassLoader classLoader)
AgentBuilder.TransformerDynamicType.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.builder.Copyright © 2014–2016. All rights reserved.