protected static class Transformer.ForMethod.MethodModifierTransformer extends Object implements Transformer<MethodDescription.Token>
Transformer.Compound<S>, Transformer.ForField, Transformer.ForMethod, Transformer.NoOp| Modifier | Constructor and Description |
|---|---|
protected |
MethodModifierTransformer(ModifierContributor.Resolver<ModifierContributor.ForMethod> resolver)
Creates a new modifier transformation.
|
| Modifier and Type | Method and Description |
|---|---|
MethodDescription.Token |
transform(TypeDescription instrumentedType,
MethodDescription.Token target)
Transforms the supplied target.
|
protected MethodModifierTransformer(ModifierContributor.Resolver<ModifierContributor.ForMethod> resolver)
resolver - The resolver to apply onto the method's modifiers.public MethodDescription.Token transform(TypeDescription instrumentedType, MethodDescription.Token target)
Transformertransform 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.