boolean (@NotNull List<? extends RootsChangeRescanningInfo> indexingInfos) { if (indexingInfos.isEmpty()) return false; for (RootsChangeRescanningInfo info : indexingInfos) { if (!(info instanceof WorkspaceEventRescanningInfo)) { return false; } } return true; }