synchronized void setPartialMap(Map<Object, StubIdList> partialMap, StubIndexKey<?, ?> stubIndexKey) {
      if (myState == RestoreState.RESTORED) {
        return;
      }
      if (myState == RestoreState.NOT_RESTORED) {
        myState = RestoreState.INCOMPLETE;
        myMap = new HashMap<>(1);
      }
      Objects.requireNonNull(myMap).put(stubIndexKey, partialMap);
    }
synchronized void setPartialMap(Map<Object, StubIdList> partialMap, StubIndexKey<?, ?> stubIndexKey)