Package net.bytebuddy.agent.builder
Class AgentBuilder.Default.Ignoring
- java.lang.Object
-
- net.bytebuddy.agent.builder.AgentBuilder.Matchable.AbstractBase<T>
-
- net.bytebuddy.agent.builder.AgentBuilder.Default.Delegator<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<AgentBuilder.Ignored> implements AgentBuilder.Ignored
A delegator transformer for further precising what types to ignore.
-
-
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.PoolStrategy, AgentBuilder.RawMatcher, AgentBuilder.RedefinitionListenable, AgentBuilder.RedefinitionStrategy, AgentBuilder.Transformer, AgentBuilder.TransformerDecorator, AgentBuilder.TypeStrategy
-
Nested classes/interfaces inherited from interface net.bytebuddy.agent.builder.AgentBuilder.Matchable
AgentBuilder.Matchable.AbstractBase<S extends AgentBuilder.Matchable<S>>
-
-
Field Summary
Fields Modifier and Type Field Description private AgentBuilder.RawMatcher
rawMatcher
A matcher for identifying types that should not be instrumented.
-
Constructor Summary
Constructors Modifier Constructor Description protected
Ignoring(AgentBuilder.RawMatcher rawMatcher)
Creates a new agent builder for further specifying what types to ignore.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentBuilder.Ignored
and(AgentBuilder.RawMatcher rawMatcher)
Defines a matching that is positive if both the previous matcher and the supplied matcher are matched.protected AgentBuilder
materialize()
Materializes the currently describedAgentBuilder
.AgentBuilder.Ignored
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
assureReadEdgeFromAndTo, assureReadEdgeFromAndTo, assureReadEdgeFromAndTo, assureReadEdgeTo, assureReadEdgeTo, assureReadEdgeTo, disableClassFormatChanges, disableNativeMethodPrefix, enableNativeMethodPrefix, ignore, ignore, ignore, ignore, installOn, installOnByteBuddyAgent, makeRaw, patchOn, patchOnByteBuddyAgent, type, type, type, type, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with
-
Methods inherited from class net.bytebuddy.agent.builder.AgentBuilder.Matchable.AbstractBase
and, and, and, or, or, or
-
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, patchOnByteBuddyAgent, type, type, type, type, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with
-
-
-
-
Field Detail
-
rawMatcher
private final AgentBuilder.RawMatcher rawMatcher
A matcher for identifying types that should not be instrumented.
-
-
Constructor Detail
-
Ignoring
protected Ignoring(AgentBuilder.RawMatcher rawMatcher)
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 Detail
-
materialize
protected AgentBuilder materialize()
Description copied from class:AgentBuilder.Default.Delegator
Materializes the currently describedAgentBuilder
.- Specified by:
materialize
in classAgentBuilder.Default.Delegator<AgentBuilder.Ignored>
- Returns:
- An agent builder that represents the currently described entry of this instance.
-
and
public AgentBuilder.Ignored and(AgentBuilder.RawMatcher rawMatcher)
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
public AgentBuilder.Ignored or(AgentBuilder.RawMatcher rawMatcher)
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.
-
-