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