public Version withQualifier(String qualifier) {
        if (qualifier.indexOf('.') != -1)
            throw new IllegalArgumentException("Qualifier cannot contain '.'");
        return new Version(major, minor, micro, qualifier);
    }
Returns new Version(versionString), or Version.emptyVersion if the input string is null or ""
component/src/main/java/com/yahoo/component/Version.java