Package net.bytebuddy.agent.builder
Interface AgentBuilder.TransformerDecorator
-
- All Known Implementing Classes:
AgentBuilder.TransformerDecorator.Compound
,AgentBuilder.TransformerDecorator.NoOp
- Enclosing interface:
- AgentBuilder
public static interface AgentBuilder.TransformerDecorator
A decorator that allows to change the class file transformer that is registered.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AgentBuilder.TransformerDecorator.Compound
A compound transformer decorator.static class
AgentBuilder.TransformerDecorator.NoOp
A transformer decorator that retains the original transformer.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResettableClassFileTransformer
decorate(ResettableClassFileTransformer classFileTransformer)
Decorates the applied class file transformer.
-
-
-
Method Detail
-
decorate
ResettableClassFileTransformer decorate(ResettableClassFileTransformer classFileTransformer)
Decorates the applied class file transformer.- Parameters:
classFileTransformer
- The original transformer created by the agent builder.- Returns:
- The class file transformer that is actually being registered.
-
-