@Override
  public void readExternal(@NotNull Element element) throws InvalidDataException {
    boolean isAllowRunningInParallel = myOptions.isAllowRunningInParallel();
    //noinspection unchecked
    loadState((T)element);
    // load state sets myOptions but we need to preserve transient isAllowRunningInParallel
    myOptions.setAllowRunningInParallel(isAllowRunningInParallel);
  }
@Override
  public void readExternal(@NotNull Element element)