Set reduce(InvocationConstraints constraints) throws UnsupportedConstraintException {
  Set reduced=reduce(null,constraints.requirements(),true);
  reduced=reduce(reduced,constraints.preferences(),false);
  return (reduced != null) ? reduced : Collections.EMPTY_SET;
}

Set reduce ( InvocationConstraints constraints ) throws UnsupportedConstraintException { Set reduced = reduce ( null , constraints . requirements ( ) , true ) ; reduced = reduce ( reduced , constraints . preferences ( ) , false ) ; return ( reduced != null ) ? reduced : Collections . EMPTY_SET ; }
returns the reduction of the given constraints into a single set of alternatives for the target class . returns an empty set if no constraints of the target class are specified . throws unsupportedconstraintexception if the constraints conflict .
