public VersionSpecification toSpecification() {
        return this == emptyVersion
                ? VersionSpecification.emptyVersionSpecification
                : new VersionSpecification(getMajor(), getMinor(), getMicro(), getQualifier());
    }
Creates a version specification that only matches this version
component/src/main/java/com/yahoo/component/Version.java