@HashCodeAndEqualsPlugin.Enhance protected static class LatentMatcher.ForFieldToken.ResolvedMatcher extends java.lang.Object implements ElementMatcher<FieldDescription>
ElementMatcher.Junction<S>| Modifier and Type | Field and Description |
|---|---|
private FieldDescription.SignatureToken |
signatureToken
The signature token representing the matched field.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ResolvedMatcher(FieldDescription.SignatureToken signatureToken)
Creates a new resolved matcher.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(FieldDescription target)
Matches a target against this element matcher.
|
private final FieldDescription.SignatureToken signatureToken
protected ResolvedMatcher(FieldDescription.SignatureToken signatureToken)
signatureToken - The signature token representing the matched field.public boolean matches(FieldDescription target)
matches in interface ElementMatcher<FieldDescription>target - The instance to be matched.true if the given element is matched by this matcher or false otherwise.