docs: @Nonnull
    public void setRegistry (@Nonnull final IAPIRegistry aRegistry)
    {
      ValueEnforcer.notNull (aRegistry, "Registry");
      if (m_aRWLock.readLocked ( () -> m_aRegistry.getAllAPIDescriptors ().isNotEmpty ()))
        throw new IllegalStateException ("Cannot change the registry after an API was already registered!");
  
      m_aRWLock.writeLocked ( () -> m_aRegistry = aRegistry);
    }