@Override
    public int hashCode(@Nullable VcsRef ref) {
      if (ref == null) {
        return 0;
      }
      return 31 * ref.getName().hashCode() + ref.getType().hashCode();
    }
@Override
    public int hashCode(@Nullable VcsRef ref)