Package net.bytebuddy.agent.builder
Class AgentBuilder.Default.Ignoring
java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.Default.Delegator
net.bytebuddy.agent.builder.AgentBuilder.Default.Delegator.Matchable<AgentBuilder.Ignored>
net.bytebuddy.agent.builder.AgentBuilder.Default.Ignoring
- All Implemented Interfaces:
AgentBuilder
,AgentBuilder.Ignored
,AgentBuilder.Matchable<AgentBuilder.Ignored>
- Enclosing class:
AgentBuilder.Default
@Enhance(includeSyntheticFields=true)
protected class AgentBuilder.Default.Ignoring
extends AgentBuilder.Default.Delegator.Matchable<AgentBuilder.Ignored>
implements AgentBuilder.Ignored
A delegator transformer for further precising what types to ignore.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.bytebuddy.agent.builder.AgentBuilder.Default.Delegator
AgentBuilder.Default.Delegator.Matchable<S extends AgentBuilder.Matchable<S>>
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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AgentBuilder.RawMatcher
A matcher for identifying types that should not be instrumented. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Ignoring
(AgentBuilder.RawMatcher rawMatcher) Creates a new agent builder for further specifying what types to ignore. -
Method Summary
Modifier and TypeMethodDescriptionand
(AgentBuilder.RawMatcher rawMatcher) Defines a matching that is positive if both the previous matcher and the supplied matcher are matched.protected AgentBuilder
Materializes the currently describedAgentBuilder
.or
(AgentBuilder.RawMatcher rawMatcher) Defines a matching that is positive if the previous matcher or the supplied matcher are matched.Methods inherited from class net.bytebuddy.agent.builder.AgentBuilder.Default.Delegator.Matchable
and, and, and, or, or, or
Methods inherited from class net.bytebuddy.agent.builder.AgentBuilder.Default.Delegator
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
-
Field Details
-
rawMatcher
A matcher for identifying types that should not be instrumented.
-
-
Constructor Details
-
Ignoring
Creates a new agent builder for further specifying what types to ignore.- Parameters:
rawMatcher
- A matcher for identifying types that should not be instrumented.
-
-
Method Details
-
materialize
Description copied from class:AgentBuilder.Default.Delegator
Materializes the currently describedAgentBuilder
.- Specified by:
materialize
in classAgentBuilder.Default.Delegator
- Returns:
- An agent builder that represents the currently described entry of this instance.
-
and
Defines a matching that is positive if both the previous matcher and the supplied matcher are matched.- Specified by:
and
in interfaceAgentBuilder.Matchable<AgentBuilder.Ignored>
- Parameters:
rawMatcher
- A raw matcher for the type being matched.- Returns:
- A chained matcher.
-
or
Defines a matching that is positive if the previous matcher or the supplied matcher are matched.- Specified by:
or
in interfaceAgentBuilder.Matchable<AgentBuilder.Ignored>
- Parameters:
rawMatcher
- A raw matcher for the type being matched.- Returns:
- A chained matcher.
-