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 an
AgentBuilder
which was handed a matcher for identifying
types to instrumented in order to supply one or several
AgentBuilder.Transformer
s.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
This interface is used to allow for optionally providing severalAgentBuilder.Transformer
to applied when a matcher identifies a type to be instrumented.static interface
Allows to specify a type matcher for a type to instrument. -
Method Summary
Modifier and TypeMethodDescriptiontransform
(AgentBuilder.Transformer transformer) Applies the given transformer for the already supplied matcher.
-
Method Details
-
transform
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.
-