public static class MethodTransformer.Compound extends Object implements MethodTransformer
MethodTransformer.Compound, MethodTransformer.NoOp, MethodTransformer.Simple
Constructor and Description |
---|
Compound(List<? extends MethodTransformer> methodTransformers)
Creates a new compound method transformer.
|
Compound(MethodTransformer... methodTransformer)
Creates a new compound method transformer.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
MethodDescription |
transform(TypeDescription instrumentedType,
MethodDescription methodDescription)
Transforms a method.
|
public Compound(MethodTransformer... methodTransformer)
methodTransformer
- The method transformers in their application order.public Compound(List<? extends MethodTransformer> methodTransformers)
methodTransformers
- The method transformers in their application order.public MethodDescription transform(TypeDescription instrumentedType, MethodDescription methodDescription)
MethodTransformer
transform
in interface MethodTransformer
instrumentedType
- The instrumented type.methodDescription
- The method to be transformed.Copyright © 2014–2016. All rights reserved.