@HashCodeAndEqualsPlugin.Enhance protected static class LatentMatcher.ForMethodToken.ResolvedMatcher extends Object implements ElementMatcher<MethodDescription>
ElementMatcher.Junction<S>
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.
|
protected ResolvedMatcher(MethodDescription.SignatureToken signatureToken)
signatureToken
- The signature token representing the matched field.public boolean matches(MethodDescription target)
ElementMatcher
matches
in interface ElementMatcher<MethodDescription>
target
- The instance to be matched.true
if the given element is matched by this matcher or false
otherwise.Copyright © 2014–2018. All rights reserved.