Package net.bytebuddy.agent.builder
Interface AgentBuilder.Identified
-
- All Known Subinterfaces:
AgentBuilder.Identified.Extendable
,AgentBuilder.Identified.Narrowable
- All Known Implementing Classes:
AgentBuilder.Default.Transforming
- Enclosing interface:
- AgentBuilder
public static interface AgentBuilder.Identified
Describes anAgentBuilder
which was handed a matcher for identifying types to instrumented in order to supply one or severalAgentBuilder.Transformer
s.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
AgentBuilder.Identified.Extendable
This interface is used to allow for optionally providing severalAgentBuilder.Transformer
to applied when a matcher identifies a type to be instrumented.static interface
AgentBuilder.Identified.Narrowable
Allows to specify a type matcher for a type to instrument.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AgentBuilder.Identified.Extendable
transform(AgentBuilder.Transformer transformer)
Applies the given transformer for the already supplied matcher.
-
-
-
Method Detail
-
transform
AgentBuilder.Identified.Extendable transform(AgentBuilder.Transformer transformer)
Applies the given transformer for the already supplied matcher.- Parameters:
transformer
- The transformer to apply.- Returns:
- A new instance of this agent builder with the transformer being applied when the previously supplied matcher identified a type for instrumentation which also allows for the registration of subsequent transformers.
-
-