@Override
    <V extends ConstraintVisitor<V>> V dispatch(V visitor) {
      return visitor.match(name, negate, (Pattern) value);
    }
This "host" could accepts {@link ConstraintVisitor}s.
mongo/src/org/immutables/mongo/repository/internal/Constraints.java