T
- The type of the instance being transformed.public interface Transformer<T>
Modifier and Type | Interface and Description |
---|---|
static class |
Transformer.Compound<S>
A compound transformer.
|
static class |
Transformer.ForField
A transformer for a field that delegates to another transformer that transforms a
FieldDescription.Token . |
static class |
Transformer.ForMethod
A transformer for a field that delegates to another transformer that transforms a
MethodDescription.Token . |
static class |
Transformer.NoOp
A non-operational transformer that returns the received instance.
|
Modifier and Type | Method and Description |
---|---|
T |
transform(TypeDescription instrumentedType,
T target)
Transforms the supplied target.
|
T transform(TypeDescription instrumentedType, T target)
instrumentedType
- The instrumented type that declares the target being transformed.target
- The target entity that is being transformed.Copyright © 2014–2024. All rights reserved.