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