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