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 instrumentedType)
Resolves the element matcher this instance represents for the instrumented type.
|
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 instrumentedType)
LatentMatcher
resolve
in interface LatentMatcher<S>
instrumentedType
- The instrumented type.ElementMatcher
that represents this matcher's resolved form.Copyright © 2014–2016. All rights reserved.