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