@SuppressWarnings("unchecked")
  @Override
  public @NotNull RemoteExternalSystemTaskManager<S> getTaskManager() {
    try {
      return getService(RemoteExternalSystemTaskManager.class, myTaskManager);
    }
    catch (Exception e) {
      throw new IllegalStateException(String.format("Can't create '%s' service", ExternalSystemTaskManager.class.getName()), e);
    }
  }
@SuppressWarnings("unchecked")
  @Override
  public @NotNull RemoteExternalSystemTaskManager<S> getTaskManager()