protected static class Transformer.ForField.FieldModifierTransformer extends Object implements Transformer<FieldDescription.Token>
Transformer.Compound<S>, Transformer.ForField, Transformer.ForMethod, Transformer.NoOp| Constructor and Description |
|---|
FieldModifierTransformer(List<? extends ModifierContributor.ForField> modifierContributors)
Creates a new field token modifier for transforming a field's modifiers.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
FieldDescription.Token |
transform(TypeDescription instrumentedType,
FieldDescription.Token target)
Transforms the supplied target.
|
public FieldModifierTransformer(List<? extends ModifierContributor.ForField> modifierContributors)
modifierContributors - The list of modifier contributors to apply onto the transformed field token.public FieldDescription.Token transform(TypeDescription instrumentedType, FieldDescription.Token target)
Transformertransform in interface Transformer<FieldDescription.Token>instrumentedType - The instrumented type that declares the target being transformed.target - The target entity that is being transformed.Copyright © 2014–2016. All rights reserved.