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