@HashCodeAndEqualsPlugin.Enhance protected static class LatentMatcher.ForFieldToken.ResolvedMatcher extends Object implements ElementMatcher<FieldDescription>
ElementMatcher.Junction<S>
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.
|
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.Copyright © 2014–2019. All rights reserved.