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