S - The type of the matched element.@HashCodeAndEqualsPlugin.Enhance public static class LatentMatcher.Conjunction<S> extends Object implements LatentMatcher<S>
LatentMatcher.Conjunction<S>, LatentMatcher.Disjunction<S>, LatentMatcher.ForFieldToken, LatentMatcher.ForMethodToken, LatentMatcher.ForRecordComponentToken, LatentMatcher.ForSelfDeclaredMethod, LatentMatcher.Resolved<S>| Constructor and Description |
|---|
Conjunction(LatentMatcher<? super S>... matcher)
Creates a new conjunction of latent matchers.
|
Conjunction(List<? extends LatentMatcher<? super S>> matchers)
Creates a new conjunction of latent matchers.
|
| Modifier and Type | Method and Description |
|---|---|
ElementMatcher<? super S> |
resolve(TypeDescription typeDescription)
Resolves the element matcher this instance represents for the supplied type description.
|
@SafeVarargsPlugin.Enhance public Conjunction(LatentMatcher<? super S>... matcher)
matcher - The matchers this conjunction represents.public Conjunction(List<? extends LatentMatcher<? super S>> matchers)
matchers - The matchers this conjunction represents.public ElementMatcher<? super S> resolve(TypeDescription typeDescription)
resolve in interface LatentMatcher<S>typeDescription - The type description for which the represented matcher should be resolved.ElementMatcher that represents this matcher's resolved form.Copyright © 2014–2025. All rights reserved.