code: function makeTypeString(aggr, componentTypeOnly) {
  		var s = aggr.type;
  		if ( aggr.altTypes ) {
  			s = s + "|" + aggr.altTypes.join("|");
  		}
  		if ( !componentTypeOnly && aggr.cardinality === "0..n" ) {
  			// if multiple types are allowed, use Array.<> for proper grouping
  			if ( aggr.altTypes ) {
  				s = "Array.<" + s + ">";
  			} else {
  				s = s + "[]";
  			}
  		}
  		return s;
  	}
docs: /*
  creates a JSDoc type string from the given metadata info object.
  It takes into account the type, the altTypes and the cardinality
  (the latter only if componentTypeOnly is not set).