private static void runUpdate(PsiElement2UsageTargetAdapter @NotNull [] targets, @NotNull ProgressIndicator indicator) {
    for (PsiElement2UsageTargetAdapter target : targets) {
      indicator.checkCanceled();
      ReadAction.run(() -> target.update());
    }
  }
private static void runUpdate(PsiElement2UsageTargetAdapter @NotNull [] targets, @NotNull ProgressIndicator indicator)