void (int staleInputId) { FileBasedIndexImpl fileBasedIndex = (FileBasedIndexImpl)FileBasedIndex.getInstance(); Collection<ID<?, ?>> indexIds = fileBasedIndex.getRegisteredIndexes().getState().getIndexIDs(); fileBasedIndex.removeFileDataFromIndices(indexIds, staleInputId, null); }