@Override
      public void artifactAdded(@NotNull Artifact artifact) {
        myLock.lock();
        try {
          ArtifactPointerImpl pointer = myNameToPointers.get(artifact.getName());
          if (pointer != null) {
            pointer.setArtifact(artifact);
          }
        }
        finally {
          myLock.unlock();
        }
      }
@Override
      public void artifactAdded(@NotNull Artifact artifact)