Depending on the value of negate the names that should match or not match.
negate
final List<String> names;