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