@ApiStatus.Internal
  public boolean canPerformReRun() {
    if (myRerunAction != null && myRerunAction.isEnabled()) return allTargetsAreValid();
    try {
      return myUsageSearcherFactory != null && allTargetsAreValid() && myUsageSearcherFactory.get() != null;
    }
    catch (PsiInvalidElementAccessException e) {
      return false;
    }
  }
@ApiStatus.Internal
  public boolean canPerformReRun()