@Override
    public Constraint match(String name, boolean negate, Pattern pattern) {
      return new PatternConstraint(this, name, negate, pattern);
    }
This "host" could accepts {@link ConstraintVisitor}s.
mongo/src/org/immutables/mongo/repository/internal/Constraints.java