S
- The type of the matched element.@HashCodeAndEqualsPlugin.Enhance public static class LatentMatcher.Disjunction<S> extends Object implements LatentMatcher<S>
LatentMatcher.Conjunction<S>, LatentMatcher.Disjunction<S>, LatentMatcher.ForFieldToken, LatentMatcher.ForMethodToken, LatentMatcher.ForSelfDeclaredMethod, LatentMatcher.Resolved<S>
Constructor and Description |
---|
Disjunction(LatentMatcher<? super S>... matcher)
Creates a new disjunction of latent matchers.
|
Disjunction(List<? extends LatentMatcher<? super S>> matchers)
Creates a new disjunction 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.
|
public Disjunction(LatentMatcher<? super S>... matcher)
matcher
- The matchers this disjunction represents.public Disjunction(List<? extends LatentMatcher<? super S>> matchers)
matchers
- The matchers this disjunction represents.public ElementMatcher<? super S> resolve(TypeDescription typeDescription)
LatentMatcher
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–2018. All rights reserved.