private void registerModificationForAllElementTypes() {
    for (StubFileElementType<?> fileElementType : myModCounts.keySet()) {
      myModCounts.merge(fileElementType, 1L, (count, value) -> count + value);
    }
  }
private void registerModificationForAllElementTypes()