@HashCodeAndEqualsPlugin.Enhance protected static class HashCodeAndEqualsPlugin.ValueMatcher extends Object implements ElementMatcher<FieldDescription>
HashCodeAndEqualsPlugin.ValueHandling
annotation.ElementMatcher.Junction<S>
Modifier | Constructor and Description |
---|---|
protected |
ValueMatcher(HashCodeAndEqualsPlugin.ValueHandling.Sort sort)
Creates a new value matcher.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(FieldDescription target)
Matches a target against this element matcher.
|
protected ValueMatcher(HashCodeAndEqualsPlugin.ValueHandling.Sort sort)
sort
- The matched value.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–2020. All rights reserved.