S - The type of the transformed instance.@HashCodeAndEqualsPlugin.Enhance public static class Transformer.Compound<S> extends Object implements Transformer<S>
Transformer.Compound<S>, Transformer.ForField, Transformer.ForMethod, Transformer.NoOp| Constructor and Description |
|---|
Compound(List<? extends Transformer<S>> transformers)
Creates a new compound transformer.
|
Compound(Transformer<S>... transformer)
Creates a new compound transformer.
|
| Modifier and Type | Method and Description |
|---|---|
S |
transform(TypeDescription instrumentedType,
S target)
Transforms the supplied target.
|
public Compound(Transformer<S>... transformer)
transformer - The list of transformers to apply in their application order.public Compound(List<? extends Transformer<S>> transformers)
transformers - The list of transformers to apply in their application order.public S transform(TypeDescription instrumentedType, S target)
transform in interface Transformer<S>instrumentedType - The instrumented type that declares the target being transformed.target - The target entity that is being transformed.Copyright © 2014–2019. All rights reserved.