public static void setFileIndexedStateCurrent(int fileId, @NotNull ID<?, ?> id, boolean isProvidedByInfrastructureExtension) {
    // TODO-ank: use isProvidedByInfrastructureExtension (DEA-334413)
    update(fileId, id, IndexVersion.getIndexCreationStamp(id));
  }
public static void setFileIndexedStateCurrent(int fileId, @NotNull ID<?, ?> id, boolean isProvidedByInfrastructureExtension)