docs: @Autowired
      public void setRegistry(BridgeHeadTypeRegistry registry) {
          this.registry = registry;
          registry.register(this);
          Method[] methods = offerArray(Object.class.getMethods(), nearType.getMethods());
          for (Method method : methods) {
              if (logger.isTraceEnabled()) {
                  logger.trace("Method: " + display(method) + ": in: " + display(nearType));
              }
              Binding binding = getBinding(method.getReturnType(), method.getName(), method.getParameterTypes());
              if (binding == null) {
                  String message = "No binding found: " + display(nearType) + ": " + display(method);
                  logger.warn(message);
                  throw new UnsupportedOperationException(message);
              }
              if (logger.isTraceEnabled()) {
                  logger.trace("Binding: " + display(binding));
              }
              methodMap.put(method, binding);
          }
      }