@Override
    public Constraint range(String name, boolean negate, Range<?> range) {
      return new RangeConstraint(this, name, negate, range);
    }
This "host" could accepts {@link ConstraintVisitor}s.
mongo/src/org/immutables/mongo/repository/internal/Constraints.java