Package net.bytebuddy.agent.builder
Interface AgentBuilder.Identified.Extendable
- All Superinterfaces:
AgentBuilder
,AgentBuilder.Identified
- All Known Implementing Classes:
AgentBuilder.Default.Transforming
- Enclosing interface:
AgentBuilder.Identified
public static interface AgentBuilder.Identified.Extendable
extends AgentBuilder, AgentBuilder.Identified
This interface is used to allow for optionally providing several
AgentBuilder.Transformer
to applied when a matcher identifies a type
to be instrumented. Any subsequent transformers are applied in the order they are registered.-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.agent.builder.AgentBuilder
AgentBuilder.CircularityLock, AgentBuilder.ClassFileBufferStrategy, AgentBuilder.Default, AgentBuilder.DescriptionStrategy, AgentBuilder.FallbackStrategy, AgentBuilder.Identified, AgentBuilder.Ignored, AgentBuilder.InitializationStrategy, AgentBuilder.InjectionStrategy, AgentBuilder.InstallationListener, AgentBuilder.LambdaInstrumentationStrategy, AgentBuilder.Listener, AgentBuilder.LocationStrategy, AgentBuilder.Matchable<T extends AgentBuilder.Matchable<T>>, AgentBuilder.PatchMode, AgentBuilder.PoolStrategy, AgentBuilder.RawMatcher, AgentBuilder.RedefinitionListenable, AgentBuilder.RedefinitionStrategy, AgentBuilder.Transformer, AgentBuilder.TransformerDecorator, AgentBuilder.TypeStrategy
Nested classes/interfaces inherited from interface net.bytebuddy.agent.builder.AgentBuilder.Identified
AgentBuilder.Identified.Extendable, AgentBuilder.Identified.Narrowable
-
Method Summary
Modifier and TypeMethodDescriptionApplies the previously defined transformation as terminal such that no subsequent transformers are applied even if their matchers would include the type that was matched for applying this transformer.Methods inherited from interface net.bytebuddy.agent.builder.AgentBuilder
assureReadEdgeFromAndTo, assureReadEdgeFromAndTo, assureReadEdgeFromAndTo, assureReadEdgeTo, assureReadEdgeTo, assureReadEdgeTo, disableClassFormatChanges, disableNativeMethodPrefix, enableNativeMethodPrefix, ignore, ignore, ignore, ignore, installOn, installOnByteBuddyAgent, makeRaw, patchOn, patchOn, patchOnByteBuddyAgent, patchOnByteBuddyAgent, type, type, type, type, warmUp, warmUp, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with
Methods inherited from interface net.bytebuddy.agent.builder.AgentBuilder.Identified
transform
-
Method Details
-
asTerminalTransformation
AgentBuilder asTerminalTransformation()Applies the previously defined transformation as terminal such that no subsequent transformers are applied even if their matchers would include the type that was matched for applying this transformer. If this option is not set, subsequent transformations are applied after this transformation such that it is possible that they override non-additive type transformations.- Returns:
- A new agent builder that applies the previously configured transformer terminally.
-