code: public ConstraintMatch addConstraintMatch(List<Object> justificationList, Score score) {
          this.score = this.score.add(score);
          ConstraintMatch constraintMatch = new ConstraintMatch(constraintPackage, constraintName,
                  justificationList, score);
          boolean added = constraintMatchSet.add(constraintMatch);
          if (!added) {
              throw new IllegalStateException("The constraintMatchTotal (" + this
                      + ") could not add constraintMatch (" + constraintMatch
                      + ") to its constraintMatchSet (" + constraintMatchSet + ").");
          }
          return constraintMatch;
      }
docs: ************************************************************************