docs: public static Class<?> getImplementation(Map<Class<?>, Class<?>> implementationsRegistry, Type interfaceType)
    {
      Class<?> implementation = implementationsRegistry.get(interfaceType);
      if(implementation == null) {
        throw new BugError("No registered implementation for type |%s|.", interfaceType);
      }
      return implementation;
    }