@Override
    public Constraint nested(String name, ConstraintHost constraints) {
      return new NestedConstraint(this, name, constraints);
    }
This "host" could accepts {@link ConstraintVisitor}s.
mongo/src/org/immutables/mongo/repository/internal/Constraints.java