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 |
equals(Object other) |
int |
hashCode() |
boolean |
matches(FieldDescription target)
Matches a target against this element matcher.
|
String |
toString() |
protected ResolvedMatcher(FieldDescription.SignatureToken signatureToken)
signatureToken
- The signature token representing the matched field.public boolean matches(FieldDescription target)
ElementMatcher
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–2016. All rights reserved.