private void invalidatePointer(@NotNull Artifact artifact) {
    myLock.lock();
    try {
      ArtifactPointerImpl pointer = myNameToPointers.get(artifact.getName());
      if (pointer != null) {
        pointer.invalidateArtifact();
      }
    }
    finally {
      myLock.unlock();
    }
  }
private void invalidatePointer(@NotNull Artifact artifact)