code: public boolean matches(ExtensionId extensionId)
      {
          if (Objects.equal(getId(), extensionId.getId())) {
              if (getVersion() == null || extensionId.getVersion() == null
                  || Objects.equal(getVersion(), extensionId.getVersion())) {
                  return true;
              }
          }
  
          return false;
      }
docs: Same as {@link #equals(Object)} but with {@code null} version meaning "any version".
  
  @param extensionId the extension identifier to match
  @return true if the passes extension id matches this extension id
  @since 9.5RC1