protected static class Transformer.ForMethod.MethodModifierTransformer extends Object implements Transformer<MethodDescription.Token>
Transformer.Compound<S>, Transformer.ForField, Transformer.ForMethod, Transformer.NoOp
Constructor and Description |
---|
MethodModifierTransformer(List<? extends ModifierContributor.ForMethod> modifierContributors)
Creates a new modifier transformation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
MethodDescription.Token |
transform(TypeDescription instrumentedType,
MethodDescription.Token target)
Transforms the supplied target.
|
public MethodModifierTransformer(List<? extends ModifierContributor.ForMethod> modifierContributors)
modifierContributors
- The modifier contributors to apply on each transformation in their application order.public MethodDescription.Token transform(TypeDescription instrumentedType, MethodDescription.Token target)
Transformer
transform
in interface Transformer<MethodDescription.Token>
instrumentedType
- The instrumented type that declares the target being transformed.target
- The target entity that is being transformed.Copyright © 2014–2017. All rights reserved.