boolean () { if (myIndex.runUpdateForPersistentData(storageUpdate)) { if (myIndex.doTraceStubUpdates(indexId) || myIndex.doTraceIndexUpdates()) { FileBasedIndexImpl.LOG.info("index " + indexId + " update finished for " + fileInfo); } if (!isMock) { ConcurrencyUtil.withLock(myIndex.myReadLock, () -> { //noinspection unchecked UpdatableIndex<?, ?, FileContent, FileIndexMetaData> index = (UpdatableIndex<?, ?, FileContent, FileIndexMetaData>)myIndex.getIndex(indexId); index.setIndexedStateForFileOnFileIndexMetaData(inputId, myFileIndexMetaData, wasIndexProvidedByExtension()); }); } } return true; }