public boolean matches(Version version) {
        if (matches(this.major, version.getMajor()) &&
            matches(this.minor, version.getMinor()) &&
            matches(this.micro, version.getMicro()))
        {
            return (version.getQualifier().equals(this.getQualifier()));
        } else {
            return false;
        }
    }
Returns true if the given version matches this specification.
It matches if all the numeric components specified are the same
as in the version, and both qualifiers are either null or set
to the same value.  I.e, a version which includes a qualifier
will only match exactly and will never return true from a
request for an unspecified qualifier.
component/src/main/java/com/yahoo/component/VersionSpecification.java