S
- The type that is produced by chaining a matcher.public abstract static class AgentBuilder.Matchable.AbstractBase<S extends AgentBuilder.Matchable<S>> extends Object implements AgentBuilder.Matchable<S>
AgentBuilder.Matchable.AbstractBase<S extends AgentBuilder.Matchable<S>>
Constructor and Description |
---|
AbstractBase() |
Modifier and Type | Method and Description |
---|---|
S |
and(ElementMatcher<? super TypeDescription> typeMatcher)
Defines a matching that is positive if both the previous matcher and the supplied matcher are matched.
|
S |
and(ElementMatcher<? super TypeDescription> typeMatcher,
ElementMatcher<? super ClassLoader> classLoaderMatcher)
Defines a matching that is positive if both the previous matcher and the supplied matcher are matched.
|
S |
and(ElementMatcher<? super TypeDescription> typeMatcher,
ElementMatcher<? super ClassLoader> classLoaderMatcher,
ElementMatcher<? super JavaModule> moduleMatcher)
Defines a matching that is positive if both the previous matcher and the supplied matcher are matched.
|
S |
or(ElementMatcher<? super TypeDescription> typeMatcher)
Defines a matching that is positive if the previous matcher or the supplied matcher are matched.
|
S |
or(ElementMatcher<? super TypeDescription> typeMatcher,
ElementMatcher<? super ClassLoader> classLoaderMatcher)
Defines a matching that is positive if the previous matcher or the supplied matcher are matched.
|
S |
or(ElementMatcher<? super TypeDescription> typeMatcher,
ElementMatcher<? super ClassLoader> classLoaderMatcher,
ElementMatcher<? super JavaModule> moduleMatcher)
Defines a matching that is positive if the previous matcher or the supplied matcher are matched.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and, or
public S and(ElementMatcher<? super TypeDescription> typeMatcher)
AgentBuilder.Matchable
and
in interface AgentBuilder.Matchable<S extends AgentBuilder.Matchable<S>>
typeMatcher
- A matcher for the type being matched.public S and(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher)
AgentBuilder.Matchable
and
in interface AgentBuilder.Matchable<S extends AgentBuilder.Matchable<S>>
typeMatcher
- A matcher for the type being matched.classLoaderMatcher
- A matcher for the type's class loader.public S and(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher, ElementMatcher<? super JavaModule> moduleMatcher)
AgentBuilder.Matchable
and
in interface AgentBuilder.Matchable<S extends AgentBuilder.Matchable<S>>
typeMatcher
- A matcher for the type being matched.classLoaderMatcher
- A matcher for the type's class loader.moduleMatcher
- A matcher for the type's module. On a JVM that does not support modules, the Java module is represented by null
.public S or(ElementMatcher<? super TypeDescription> typeMatcher)
AgentBuilder.Matchable
or
in interface AgentBuilder.Matchable<S extends AgentBuilder.Matchable<S>>
typeMatcher
- A matcher for the type being matched.public S or(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher)
AgentBuilder.Matchable
or
in interface AgentBuilder.Matchable<S extends AgentBuilder.Matchable<S>>
typeMatcher
- A matcher for the type being matched.classLoaderMatcher
- A matcher for the type's class loader.public S or(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher, ElementMatcher<? super JavaModule> moduleMatcher)
AgentBuilder.Matchable
or
in interface AgentBuilder.Matchable<S extends AgentBuilder.Matchable<S>>
typeMatcher
- A matcher for the type being matched.classLoaderMatcher
- A matcher for the type's class loader.moduleMatcher
- A matcher for the type's module. On a JVM that does not support modules, the Java module is represented by null
.Copyright © 2014–2017. All rights reserved.