Package net.bytebuddy.agent.builder
Interface AgentBuilder.TransformerDecorator
-
- All Known Implementing Classes:
AgentBuilder.TransformerDecorator.Compound,AgentBuilder.TransformerDecorator.ForSubstitution,AgentBuilder.TransformerDecorator.NoOp
- Enclosing interface:
- AgentBuilder
public static interface AgentBuilder.TransformerDecoratorA decorator that allows to change the class file transformer that is registered.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAgentBuilder.TransformerDecorator.CompoundA compound transformer decorator.static classAgentBuilder.TransformerDecorator.ForSubstitutionWraps a class file transformer to become substitutable.static classAgentBuilder.TransformerDecorator.NoOpA transformer decorator that retains the original transformer.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResettableClassFileTransformerdecorate(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.
-
-