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.IdentifiedDescribes anAgentBuilderwhich was handed a matcher for identifying types to instrumented in order to supply one or severalAgentBuilder.Transformers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceAgentBuilder.Identified.ExtendableThis interface is used to allow for optionally providing severalAgentBuilder.Transformerto applied when a matcher identifies a type to be instrumented.static interfaceAgentBuilder.Identified.NarrowableAllows 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.Extendabletransform(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.
-
-