S - The type of the matched element.public static class LatentMatcher.Compound<S> extends Object implements LatentMatcher<S>
LatentMatcher.Compound<S>, LatentMatcher.ForFieldToken, LatentMatcher.ForMethodToken, LatentMatcher.Resolved<S>| Constructor and Description |
|---|
Compound(LatentMatcher<? super S>... matcher)
Creates a new compound latent matcher.
|
Compound(List<? extends LatentMatcher<? super S>> matchers)
Creates a new compound latent matcher.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
ElementMatcher<? super S> |
resolve(TypeDescription typeDescription)
Resolves the element matcher this instance represents for the supplied type description.
|
String |
toString() |
public Compound(LatentMatcher<? super S>... matcher)
matcher - The matchers this compound matcher represents.public Compound(List<? extends LatentMatcher<? super S>> matchers)
matchers - The matchers this compound matcher represents.public ElementMatcher<? super S> resolve(TypeDescription typeDescription)
LatentMatcherresolve 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–2016. All rights reserved.