Top Description Inners Methods
net.bytebuddy.dynamic

public Interface Transformer<T>

Known Direct Implementers
net.bytebuddy.dynamic.Transformer.NoOp, net.bytebuddy.dynamic.Transformer.ForField, net.bytebuddy.dynamic.Transformer.ForField.FieldModifierTransformer, net.bytebuddy.dynamic.Transformer.ForMethod, net.bytebuddy.dynamic.Transformer.ForMethod.MethodModifierTransformer, net.bytebuddy.dynamic.Transformer.Compound
Type Parameters
<T>
The type of the instance being transformed.
Imports
edu.umd.cs.findbugs.annotations.SuppressFBWarnings, net.bytebuddy.build.HashCodeAndEqualsPlugin, net.bytebuddy.description.annotation.AnnotationList, .AnnotationValue, net.bytebuddy.description.field.FieldDescription, net.bytebuddy.description.method.MethodDescription, .ParameterDescription, .ParameterList, net.bytebuddy.description.modifier.ModifierContributor, net.bytebuddy.description.type.TypeDefinition, .TypeDescription, .TypeList, net.bytebuddy.utility.nullability.MaybeNull, javax.annotation.Nonnull, java.util.ArrayList, .Arrays, .List

A transformer is responsible for transforming an object into a compatible instance of the same type.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
Transformer.Compound<
The type of the transformed instance.
S
>

A compound transformer.

public static class
Transformer.ForField

A transformer for a field that delegates to another transformer that transforms a net.bytebuddy.description.field.FieldDescription.Token.

public static class
Transformer.ForMethod

A transformer for a field that delegates to another transformer that transforms a net.bytebuddy.description.method.MethodDescription.Token.

public static enum
Transformer.NoOp

A non-operational transformer that returns the received instance.

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

The transformed instance.
transform
(TypeDescription
The instrumented type that declares the target being transformed.
instrumentedType
,
T
The target entity that is being transformed.
target
)

Transforms the supplied target.