This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
public static interface Setting.Validator<T>
Represents a validator for a setting. The validate(Object, Map) method is invoked with the value of this setting and a map
from the settings specified by settings()} to their values. All these values come from the same Settings instance.