@HashCodeAndEqualsPlugin.Enhance protected static class LatentMatcher.ForMethodToken.ResolvedMatcher extends ElementMatcher.Junction.ForNonNullValues<MethodDescription>
ElementMatcher.Junction.AbstractBase<V>, ElementMatcher.Junction.Conjunction<W>, ElementMatcher.Junction.Disjunction<W>, ElementMatcher.Junction.ForNonNullValues<W>
ElementMatcher.Junction<S>
Modifier | Constructor and Description |
---|---|
protected |
ResolvedMatcher(MethodDescription.SignatureToken signatureToken)
Creates a new resolved matcher.
|
Modifier and Type | Method and Description |
---|---|
boolean |
doMatch(MethodDescription target)
Matches the supplied value if it was found not to be
null . |
matches
and, or
protected ResolvedMatcher(MethodDescription.SignatureToken signatureToken)
signatureToken
- The signature token representing the matched field.public boolean doMatch(MethodDescription target)
null
.doMatch
in class ElementMatcher.Junction.ForNonNullValues<MethodDescription>
target
- The instance to be matched.true
if the given element is matched by this matcher or false
otherwise.Copyright © 2014–2023. All rights reserved.