@Override
  public boolean setPersistentValue(@Nullable VirtualFile virtualFile, T value) {
    T oldValue = key.get(virtualFile);
    key.set(virtualFile, value);
    return !Objects.equals(oldValue, value);
  }
@Override
  public boolean setPersistentValue(@Nullable VirtualFile virtualFile, T value)