in src/main/scala/kotlin/KotlinVersion.scala [78:82]
def parseVersionComponent(name: String): Int =
Option(s).flatMap(_.toIntOption) match {
case Some(value) => value
case None => throw new IllegalArgumentException(s"Invalid $name version component: $s")
}