in src/main/scala/com/googlesource/gerrit/plugins/analytics/common/AggregationStrategy.scala [33:38]
def apply(name: String): AggregationStrategy =
baseValues.find(_.name == name.toUpperCase) match {
case Some(g) => g
case None => throw new InvalidParameterException(
s"Must be one of: ${baseValues.map(_.name).mkString(",")}")
}